Skip to content

Commit 4638f0d

Browse files
author
Michael MacDonald
committed
Added scenario for multiline tables
1 parent 0f0a95f commit 4638f0d

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

features/person.feature

+14-1
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,26 @@ Feature: Pickle demonstration with Person objects
1111
And 3 people should exist
1212
And the last person should be an adult
1313
And the 2nd person should not be employed
14-
14+
1515
Scenario: labels and associations
1616
Given a company exists
1717
And another company: "rubyflare" exists
1818
And a person exists with company: company "rubyflare"
1919
And another person exists with company: the first company
2020
Then the first person should be one of company: "rubyflare"'s employees
21+
22+
Scenario: creating and asserting with multiline tables
23+
Given a company exists
24+
And another company: "rubyflare" exists
25+
And the following people exist:
26+
| name | age | employed | company |
27+
| Digby | 13 | false | the first company |
28+
| Ethyl | 27 | true | company: "rubyflare" |
29+
Then the following people should exist:
30+
| name | age |
31+
| Digby | 13 |
32+
| Ethyl | 27 |
33+
And the 2nd person should be one of company: "rubyflare"'s employees
2134

2235
Scenario: email
2336
Given a person exists with email: "[email protected]"

0 commit comments

Comments
 (0)