Permalink
Browse files

Generalize multiple generic object feature

  • Loading branch information...
1 parent 47b123b commit 5e9a3f820c285e12d495318ea52b41d5a5e549cb @paulelliott committed Mar 2, 2012
@@ -1,9 +1,5 @@
Feature: Active Record Objects
- Scenario: some generic objects
- Given 5 divisions
- Then I should see 5 divisions in the database
-
Scenario: a single detailed object
Given the following division:
| name | Rasczak's Roughnecks |
@@ -1,9 +1,5 @@
Feature: Mongoid Objects
- Scenario: for some generic objects
- Given 5 authors
- Then I should see 5 authors in the database
-
Scenario: a single detailed object
Given the following author:
| name | George Orwell |
@@ -0,0 +1,11 @@
+Feature: Multiple Generic Objects
+
+ Scenario Outline:
+ Given 5 <fabricator name>s
+ Then I should see 5 <fabricator name>s in the database
+
+ Scenarios:
+ | fabricator name |
+ | parent active record model |
+ | parent mongoid document |
+ | parent sequel model |

0 comments on commit 5e9a3f8

Please sign in to comment.