Then the search results should show "A community garden in spring"

Assert the results of the forum search show (or do not show) a text: the title of a topic, or a part of a post.

Examples

Then the search results should show "A community garden in spring"
And the search results should show "Marigolds keep the aphids away"
Then the search results should not show "Staff only"
Then the search results should show "How do I change my password?"
And the search results should not show "Members only"

Pattern

Then(/^the search results should( not)* show "([^"]*)"$/, …)

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