Assert the state of a post of the page as a moderator reads it: published, pending, spam, or in the trash.
Examples
Then the last post should be pending
And the last post should be published
Then post 2 should be spam
Then the last post should be in the trash
And post 2 should not be spam
Pattern
Then(/^(?:post (\d+)|the last post) should( not)* be (published|pending|spam|in the trash)$/, …)
Part of @webship-js/bbpress-steps (github.com/webship/bbpress-steps), a step pack for Webship-js 2.0.x.