From 6adbd114c1957fbd4908d28f612881a0861823f2 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Mon, 5 Jun 2017 17:03:01 +0900 Subject: [PATCH] Skip image length check (regression from #3528) (#3581) --- spec/lib/atom_serializer_spec.rb | 1 - 1 file changed, 1 deletion(-) 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