Then robots.txt should list the sitemap

Assert robots.txt points to the XML sitemap with a Sitemap line.

Examples

Then robots.txt should list the sitemap
And robots.txt should list the sitemap
Then the robots.txt file should list the sitemap
And the robots.txt file should list the sitemap
But robots.txt should not list the sitemap

Pattern

Then(/^(?:the )?robots\.txt(?: file)? should( not)* list the sitemap$/, …)

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