mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
parent
037f96c5ae
commit
6adbd114c1
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue