Assert a post shows a text with a format: in bold, in italics, as a quote, as code, as a link, or struck through.
Examples
Then the last post should show "bold words" in bold
And the last post should show "a quoted line" as a quote
Then post 2 should show "important" in italics
Then the last post should show "wp-config.php" as code
And the last post should show "the documentation" as a link
Pattern
Then(/^(?:post (\d+)|the last post) should show "([^"]*)" (in bold|in italics|as a quote|as code|as a link|struck through)$/, …)
Part of @webship-js/bbpress-steps (github.com/webship/bbpress-steps), a step pack for Webship-js 2.0.x.