Then the delete confirmation should count "Questions: 1"

Assert a line of the delete confirmation's summary: how many objects of a model the deletion takes ("Choices: 2").

Examples

Then the delete confirmation should count "Questions: 1"
Then the delete confirmation should count "Choices: 2"
And the delete confirmation should count "Questions: 2"
Then the delete confirmation should count "Choices: 4"
And the delete confirmation should count "Choices: 3"

Pattern

Then(/^the delete confirmation should count "([^"]*)"$/, …)

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