diff --git a/test/models/ogp/image/attachment_processor_test.rb b/test/models/ogp/image/attachment_processor_test.rb index 0537566a676..ce76c16a254 100644 --- a/test/models/ogp/image/attachment_processor_test.rb +++ b/test/models/ogp/image/attachment_processor_test.rb @@ -11,7 +11,7 @@ class AttachmentProcessorTest < ActiveSupport::TestCase AttachmentProcessor.fit_to_size(article.thumbnail) article.thumbnail.blob.analyze unless article.thumbnail.blob.analyzed? - assert_equal({ width: WIDTH, height: HEIGHT }, + assert_equal({ width: 1200, height: 630 }, article.thumbnail.blob.metadata.slice(:width, :height).symbolize_keys) end end