Assert who wrote a post: its author line names the person (a handle of the users registry stands for its name). On the page of the post, or for a post of a list.
Examples
Then the post "Lorem ipsum dolor sit amet consectetur adipiscing elit" should be written by "Jane Doe"
Then the post "A post of the webship-js suite" should be written by "administrator"
And the post "Lorem ipsum dolor sit amet consectetur adipiscing elit" should not be written by "John Doe"
Then the post "A post of the webship-js suite" should be written by "Jane Doe"
And the post "Pellentesque vitae velit ex" should not be written by "user"
Pattern
Then(/^the post "([^"]*)" should( not)* be written by "([^"]*)"$/, …)
Part of @webship-js/symfony-steps (github.com/webship/symfony-steps), a step pack for Webship-js 2.0.x.