Then my recent actions should list "Recent action question"

Assert that the recent actions of the admin index ("My actions") list (or do not list) an object; "as added", "as changed" or "as deleted" says what the account did with it.

Examples

Then my recent actions should list "Recent action question"
Then my recent actions should list "Recent action question" as added
And my recent actions should list "Recent action question" as deleted
Then my recent actions should not list "Recent action question"
And my recent actions should list "Recent action question" as changed

Pattern

Then(/^my recent actions should( not)* list "([^"]*)"(?: as (added|changed|deleted))?$/, …)

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