Assert robots.txt disallows, or allows, a path. The path is matched as a Disallow rule: /wp-admin/ is the rule WordPress writes for the administration area.
Examples
Then robots.txt should disallow "/wp-admin/"
And robots.txt should not disallow "/"
Then the robots.txt file should disallow "/wp-admin/"
And the robots.txt file should not disallow "/wp-content/uploads/"
But robots.txt should not disallow "/feed/"
Pattern
Then(/^(?:the )?robots\.txt(?: file)? should( not)* disallow "([^"]*)"$/, …)
Part of @webship-js/wordpress-steps (github.com/webship/wordpress-steps), a step pack for Webship-js 2.0.x.