When I close the topic

Follow a moderation link of the topic that is open: close or open it, stick or unstick it, unapprove or approve it, mark it as spam or not, put it in the trash or restore it. The step checks the topic took the state.

Examples

When I close the topic
And I open the topic
When I stick the topic
When we unapprove the topic
And I trash the topic
When I restore the topic
And we spam the topic
When I unspam the topic
And I approve the topic
When we unstick the topic

Pattern

When(/^(I |we )*(close|open|stick|unstick|unapprove|approve|spam|unspam|trash|restore) the topic$/, …)

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