diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2017-06-05 17:03:01 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-05 10:03:01 +0200 |
commit | 6adbd114c1957fbd4908d28f612881a0861823f2 (patch) | |
tree | 2c7ba58e06fed3bb028edefa0f2df349963d6280 /spec | |
parent | 037f96c5aeaa4b31e03ecc875a76450f2b7e8b24 (diff) |
Skip image length check (regression from #3528) (#3581)
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/atom_serializer_spec.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/lib/atom_serializer_spec.rb b/spec/lib/atom_serializer_spec.rb index c998d55ed..d14fc5b40 100644 --- a/spec/lib/atom_serializer_spec.rb +++ b/spec/lib/atom_serializer_spec.rb @@ -389,7 +389,6 @@ RSpec.describe AtomSerializer do enclosure = entry.nodes.find { |node| node.name == 'link' && node[:rel] == 'enclosure' } expect(enclosure[:type]).to eq 'image/jpeg' - expect(enclosure[:length]).to eq '57822' expect(enclosure[:href]).to match /^https:\/\/cb6e6126.ngrok.io\/system\/media_attachments\/files\/.+\/original\/attachment.jpg$/ end |