Skip to content

Commit

Permalink
Update image_test.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren authored Aug 25, 2021
1 parent df45966 commit 3e4c5a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/image_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ class ImageTest < ActiveSupport::TestCase
test 'should not contains special characters in value' do
image = images(:one)
assert image.is_image?
assert_not_nil image.path
assert_not_nil image.path(:original)
assert_equal "jpg", image.filetype
assert_equal "/i/#{image.id}", image.shortlink
assert_not_nil image.filename
Expand Down

0 comments on commit 3e4c5a4

Please sign in to comment.