about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-07-30 14:39:06 +0200
committerThibaut Girka <thib@sitedethib.com>2018-07-30 14:39:06 +0200
commit5f1bdca4c8c3f34e0cc8f6ed3b6a264f42cc8ed2 (patch)
tree8727c7f3f289fa29051a31df67d6dc8d5c60e422 /spec
parentb02bfe86ce26ef001420841673257c9c5326b45c (diff)
parente23b26178a71f90d64fe2a3e9e4468f265ecc71c (diff)
Merge commit 'e23b26178a71f90d64fe2a3e9e4468f265ecc71c' into glitch-soc/merge-upstream
Merge upstream changes right before the public profile redesign.
Diffstat (limited to 'spec')
-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 d2230b6d0..cb1cee518 100644
--- a/spec/models/media_attachment_spec.rb
+++ b/spec/models/media_attachment_spec.rb
@@ -129,9 +129,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 400
-      expect(media.file.meta["small"]["height"]).to eq 267
-      expect(media.file.meta["small"]["aspect"]).to eq 400.0/267
+      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
     end
   end