Skip to content
Snippets Groups Projects
Commit 6adbd114 authored by Yamagishi Kazutoshi's avatar Yamagishi Kazutoshi Committed by Eugen Rochko
Browse files

Skip image length check (regression from #3528) (#3581)

parent 037f96c5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment