Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 20 lines (17 sloc) 0.806 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Feature: Multiple Parented Detailed Objects

Scenario Outline:
Given 1 <parent fabricator name>
And that <parent fabricator name> has the following <child fabricator name>s:
| number field |
| 20 |
| 30 |
Then I should see 1 <parent fabricator name> in the database
And they should be persisted
And they should reference that <parent fabricator name>
And the first should have "20" for a "number field"
And the second should have "30" for a "number field"

Scenarios:
| parent fabricator name | child fabricator name |
| parent active record model | child active record model |
| parent mongoid document | referenced mongoid document |
| parent sequel model | child sequel model |
Something went wrong with that request. Please try again.