From 55b0780b8f87e0d8042f24d1edb95ec976140cfe Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Sun, 16 May 2010 21:23:25 +0100 Subject: [PATCH] cleaning features for multiple dbs and multiple orms --- features/cleaning_multiple_dbs.feature | 20 ++++++++++++++++++++ features/cleaning_multiple_orms.feature | 19 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 features/cleaning_multiple_dbs.feature create mode 100644 features/cleaning_multiple_orms.feature diff --git a/features/cleaning_multiple_dbs.feature b/features/cleaning_multiple_dbs.feature new file mode 100644 index 0000000..2f4d78a --- /dev/null +++ b/features/cleaning_multiple_dbs.feature @@ -0,0 +1,20 @@ +Feature: multiple database cleaning + In order to ease example and feature writing + As a developer + I want to have my database in a clean state + + Scenario Outline: ruby app + Given I am using + And the cleaning strategy + + When I run my scenarios that rely on a clean database + Then I should see all green + + Examples: + | ORM 1 | ORM2 | + | ActiveRecord | DataMapper | + | ActiveRecord | MongoMapper | + | DataMapper | MongoMapper | + | DataMapper | CouchPotato | + | MongoMapper | CouchPotato | + | CouchPotato | ActiveRecord | diff --git a/features/cleaning_multiple_orms.feature b/features/cleaning_multiple_orms.feature new file mode 100644 index 0000000..0591c73 --- /dev/null +++ b/features/cleaning_multiple_orms.feature @@ -0,0 +1,19 @@ +Feature: database cleaning using multiple ORMs + In order to ease example and feature writing + As a developer + I want to have my database in a clean state + + Scenario Outline: ruby app + Given I am using and + + When I run my scenarios that rely on a clean databases using multiple orms + Then I should see all green + + Examples: + | ORM1 | ORM2 | + | ActiveRecord | DataMapper | + | ActiveRecord | MongoMapper | + | DataMapper | MongoMapper | + | DataMapper | CouchPotato | + | MongoMapper | CouchPotato | + | CouchPotato | ActiveRecord |