mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
Add a failing test for #1753
This commit is contained in:
parent
cb0e8f68f9
commit
445665ee3a
2 changed files with 7 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
<category>csv</category>
|
||||
<category>crossplatform</category>
|
||||
<category>utilities</category>
|
||||
<dc:creator></dc:creator>
|
||||
</item>
|
||||
<item>
|
||||
<title>Gemini</title>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue