Add a failing test for #1753

This commit is contained in:
Akinori MUSHA 2016-10-27 08:09:57 +09:00
parent cb0e8f68f9
commit 445665ee3a
2 changed files with 7 additions and 0 deletions

View file

@ -15,6 +15,7 @@
<category>csv</category>
<category>crossplatform</category>
<category>utilities</category>
<dc:creator></dc:creator>
</item>
<item>
<title>Gemini</title>

View file

@ -251,6 +251,12 @@ describe Agents::RssAgent do
expect(event.payload['enclosure']).to eq({ "url" => "http://c.1tw.org/images/2015/itsy.png", "type" => "image/png", "length" => "48249" })
expect(event.payload['image']).to eq("http://c.1tw.org/images/2015/itsy.png")
end
it "ignores an empty author" do
agent.check
event = agent.events.first
expect(event.payload['authors']).to eq([])
end
end
describe 'logging errors with the feed url' do