mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
21 lines
631 B
Gherkin
21 lines
631 B
Gherkin
|
Feature: example
|
||
|
In order to test DataBase Cleaner
|
||
|
Here are some scenarios that rely on the DB being clean!
|
||
|
|
||
|
Scenario: dirty the db
|
||
|
When I create a widget in one db
|
||
|
And I create a widget in another db
|
||
|
Then I should see 1 widget in one db
|
||
|
And I should see 1 widget in another db
|
||
|
|
||
|
Scenario: assume a clean db
|
||
|
When I create a widget in one db
|
||
|
Then I should see 1 widget in one db
|
||
|
And I should see 0 widget in another db
|
||
|
|
||
|
Scenario: assume a clean db
|
||
|
When I create a widget in another db
|
||
|
Then I should see 0 widget in one db
|
||
|
And I should see 1 widget in another db
|
||
|
|