@@ -61,7 +61,8 @@ Feature: Generate new WordPress posts
6161 Howdy! 3
6262 """
6363 And STDERR should be empty
64- And I run `wp post list --field=post_name --posts_per_page=4 --orderby=ID --order=asc`
64+
65+ When I run `wp post list --field=post_name --posts_per_page=4 --orderby=ID --order=asc`
6566 Then STDOUT should contain:
6667 """
6768 hello-world
@@ -78,7 +79,8 @@ Feature: Generate new WordPress posts
7879 """
7980 2018-07-01 00:00:00
8081 """
81- And I run `wp post list --field=post_date_gmt`
82+
83+ When I run `wp post list --field=post_date_gmt`
8284 Then STDOUT should contain:
8385 """
8486 2018-07-01 00:00:00
@@ -91,7 +93,8 @@ Feature: Generate new WordPress posts
9193 """
9294 2018-07-02 02:21:05
9395 """
94- And I run `wp post list --field=post_date_gmt`
96+
97+ When I run `wp post list --field=post_date_gmt`
9598 Then STDOUT should contain:
9699 """
97100 2018-07-02 02:21:05
@@ -104,7 +107,8 @@ Feature: Generate new WordPress posts
104107 """
105108 2018-07-03 00:00:00
106109 """
107- And I run `wp post list --field=post_date_gmt`
110+
111+ When I run `wp post list --field=post_date_gmt`
108112 Then STDOUT should contain:
109113 """
110114 2018-07-03 00:00:00
@@ -117,7 +121,8 @@ Feature: Generate new WordPress posts
117121 """
118122 2018-07-04 12:34:56
119123 """
120- And I run `wp post list --field=post_date_gmt`
124+
125+ When I run `wp post list --field=post_date_gmt`
121126 Then STDOUT should contain:
122127 """
123128 2018-07-04 12:34:56
@@ -130,7 +135,8 @@ Feature: Generate new WordPress posts
130135 """
131136 2018-07-05 17:17:17
132137 """
133- And I run `wp post list --field=post_date_gmt`
138+
139+ When I run `wp post list --field=post_date_gmt`
134140 Then STDOUT should contain:
135141 """
136142 2018-07-05 17:17:17
@@ -143,7 +149,8 @@ Feature: Generate new WordPress posts
143149 """
144150 2018-07-06 12:12:12
145151 """
146- And I run `wp post list --field=post_date_gmt`
152+
153+ When I run `wp post list --field=post_date_gmt`
147154 Then STDOUT should contain:
148155 """
149156 2018-07-06 12:12:12
@@ -156,7 +163,8 @@ Feature: Generate new WordPress posts
156163 """
157164 1999-12-31 00:00:00
158165 """
159- And I run `wp post list --field=post_date_gmt`
166+
167+ When I run `wp post list --field=post_date_gmt`
160168 Then STDOUT should contain:
161169 """
162170 2000-01-01 00:00:00
@@ -169,7 +177,8 @@ Feature: Generate new WordPress posts
169177 """
170178 1999-12-31 11:11:00
171179 """
172- And I run `wp post list --field=post_date_gmt`
180+
181+ When I run `wp post list --field=post_date_gmt`
173182 Then STDOUT should contain:
174183 """
175184 2000-01-01 02:11:00
@@ -181,10 +190,10 @@ Feature: Generate new WordPress posts
181190
182191 When I run `wp post list --field=post_status`
183192 Then STDOUT should be empty
184-
193+
185194 When I run `wp post generate --count=1`
186195 And I run `wp post list --field=post_status`
187196 Then STDOUT should be:
188197 """
189198 publish
190- """
199+ """
0 commit comments