We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da32425 + bd4be49 commit 1284513Copy full SHA for 1284513
activestorage/test/previewer/video_previewer_test.rb
@@ -16,7 +16,7 @@ class ActiveStorage::Previewer::VideoPreviewerTest < ActiveSupport::TestCase
16
image = MiniMagick::Image.read(attachable[:io])
17
assert_equal 640, image.width
18
assert_equal 480, image.height
19
- assert_equal "image/jpeg", image.mime_type
+ assert_equal "image/jpeg", Marcel::Magic.by_extension(image.type).type
20
end
21
22
0 commit comments