Skip to content

Commit ec684bb

Browse files
authored
Merge pull request rails#51060 from yahonda/workaround_thumbnail_height
Address `ActiveStorage::VariantTest#test_resized_variation_of_WEBP_blob` failure at Rails Nightly CI
2 parents a42ca9c + 034398f commit ec684bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activestorage/test/models/variant_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class ActiveStorage::VariantTest < ActiveSupport::TestCase
122122
image = read_image(variant)
123123
assert_equal "WEBP", image.type
124124
assert_equal 50, image.width
125-
assert_equal 33, image.height
125+
assert_includes [33, 34], image.height
126126
end
127127

128128
test "optimized variation of GIF blob" do

0 commit comments

Comments
 (0)