Then the RSS feed should list "The first post"

Assert an RSS feed lists (or does not list) an item by its title. The feed is /rss.xml unless a path is given.

Examples

Then the RSS feed should list "The first post"
And the RSS feed should list "The second post"
But the RSS feed should not list "A draft post"
Then the RSS feed at "/blog/rss.xml" should list "Hello"
Then RSS feed should list "The first post"

Pattern

Then(/^(?:the )?RSS feed(?: at "([^"]*)")? should( not)* list "([^"]*)?"$/, …)

Part of @webship-js/astro-steps (github.com/webship/astro-steps), a step pack for Webship-js 2.0.x.