2011-01-16 16:34:45 +00:00
|
|
|
Feature: database cleaning
|
|
|
|
In order to ease example and feature writing
|
|
|
|
As a developer
|
|
|
|
I want to have my database in a clean state with default strategy
|
|
|
|
|
2018-05-19 02:16:03 +00:00
|
|
|
Scenario Outline: ruby app with adapter gems
|
|
|
|
Given I am using <ORM> from its adapter gem
|
|
|
|
And the default cleaning strategy
|
|
|
|
|
|
|
|
When I run my scenarios that rely on a clean database
|
|
|
|
Then I should see all green
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| ORM |
|
|
|
|
| ActiveRecord |
|
2018-05-26 03:12:59 +00:00
|
|
|
| CouchPotato |
|
2018-05-26 03:36:08 +00:00
|
|
|
| DataMapper |
|
2018-05-26 06:38:08 +00:00
|
|
|
| Mongoid |
|
2018-05-26 06:48:30 +00:00
|
|
|
| MongoMapper |
|
2018-05-19 02:16:03 +00:00
|
|
|
|
2011-01-16 16:34:45 +00:00
|
|
|
Scenario Outline: ruby app
|
|
|
|
Given I am using <ORM>
|
|
|
|
And the default cleaning strategy
|
|
|
|
|
|
|
|
When I run my scenarios that rely on a clean database
|
|
|
|
Then I should see all green
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| ORM |
|
|
|
|
| ActiveRecord |
|
|
|
|
| DataMapper |
|
2014-12-22 09:33:13 +00:00
|
|
|
| Sequel |
|
2011-01-16 16:34:45 +00:00
|
|
|
| MongoMapper |
|
|
|
|
| Mongoid |
|
|
|
|
| CouchPotato |
|
2013-05-11 13:16:01 +00:00
|
|
|
| Redis |
|
|
|
|
| Ohm |
|
2014-12-01 16:19:27 +00:00
|
|
|
| Neo4j |
|