about summary refs log tree commit diff
path: root/spec/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-11-01 13:01:39 +0100
committerGitHub <noreply@github.com>2022-11-01 13:01:39 +0100
commitd0ba77047e539b7ae102296d096fcfd668a2ec92 (patch)
treea4d876a3ef9c9629ce6361346cc30eb281d495b2 /spec/models
parent03d9618595bd2433a319c0bfc0f5bbb14653d0d6 (diff)
Change max. thumbnail dimensions to 640x360px (360p) (#19619)
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/media_attachment_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/media_attachment_spec.rb b/spec/models/media_attachment_spec.rb
index cbd9a09c5..29fd313ae 100644
--- a/spec/models/media_attachment_spec.rb
+++ b/spec/models/media_attachment_spec.rb
@@ -157,9 +157,9 @@ RSpec.describe MediaAttachment, type: :model do
       expect(media.file.meta["original"]["width"]).to eq 600
       expect(media.file.meta["original"]["height"]).to eq 400
       expect(media.file.meta["original"]["aspect"]).to eq 1.5
-      expect(media.file.meta["small"]["width"]).to eq 490
-      expect(media.file.meta["small"]["height"]).to eq 327
-      expect(media.file.meta["small"]["aspect"]).to eq 490.0 / 327
+      expect(media.file.meta["small"]["width"]).to eq 588
+      expect(media.file.meta["small"]["height"]).to eq 392
+      expect(media.file.meta["small"]["aspect"]).to eq 1.5
     end
 
     it 'gives the file a random name' do