database_cleaner/examples/features/example.feature

12 lines
282 B
Gherkin

Feature: example
In order to test DatabaseCleaner
Here are some scenarios that rely on the DB being clean!
Scenario: dirty the db
When I create a widget
Then I should see 1 widget
Scenario: assume a clean db
When I create a widget
Then I should see 1 widget