diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-02-16 07:22:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-16 07:22:20 +0100 |
commit | 9dbae6e8a120fc18fdc007503375b53f6b061b8f (patch) | |
tree | cf0a3ceee2a1a0c4c1f1418ac9668992465bdfeb /spec/models | |
parent | 1122579216a0ba6d081ff9ad14a1b501636f9601 (diff) |
Save video metadata and improve video OpenGraph tags (#6481)
* Save metadata from video attachments, put correct dimensions into OG tags * Add twitter:player for videos * Fix code style and test
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/media_attachment_spec.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/models/media_attachment_spec.rb b/spec/models/media_attachment_spec.rb index b40a641f7..d2230b6d0 100644 --- a/spec/models/media_attachment_spec.rb +++ b/spec/models/media_attachment_spec.rb @@ -92,7 +92,6 @@ RSpec.describe MediaAttachment, type: :model do it 'sets meta' do expect(media.file.meta["original"]["width"]).to eq 128 expect(media.file.meta["original"]["height"]).to eq 128 - expect(media.file.meta["original"]["aspect"]).to eq 1.0 end end |