Then the app "Polls" should list the model "Questions"

Assert that an app of the admin index lists (or does not list) a model, by the model's plural name as the index shows it.

Examples

Then the app "Polls" should list the model "Questions"
Then the app "Authentication and Authorization" should list the model "Users"
And the app "Polls" should list the model "Tags"
Then the app "Polls" should not list the model "Choices"
And the app "Authentication and Authorization" should not list the model "Questions"

Pattern

Then(/^the app "([^"]*)" should( not)* list the model "([^"]*)"$/, …)

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