Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Generalize multiple generic object feature

  • Loading branch information...
commit 5e9a3f820c285e12d495318ea52b41d5a5e549cb 1 parent 47b123b
@paulelliott authored
View
4 features/active_record_objects.feature
@@ -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 |
View
4 features/mongoid_objects.feature
@@ -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 |
View
11 features/multiple_generic_objects.feature
@@ -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.
Something went wrong with that request. Please try again.