File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,26 @@ Feature: Pickle demonstration with Person objects
11
11
And 3 people should exist
12
12
And the last person should be an adult
13
13
And the 2nd person should not be employed
14
-
14
+
15
15
Scenario : labels and associations
16
16
Given a company exists
17
17
And another company: "rubyflare" exists
18
18
And a person exists with company: company "rubyflare"
19
19
And another person exists with company: the first company
20
20
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
21
34
22
35
Scenario : email
23
36
Given a person exists with email:
"[email protected] "
You can’t perform that action at this time.
0 commit comments