@@ -3,8 +3,6 @@ Feature: WordPress code scaffolding
33 @theme
44 Scenario : Scaffold a child theme
55 Given a WP install
6- And I run `wp theme path`
7- And save STDOUT as {THEME_DIR}
86
97 When I run `wp scaffold child-theme zombieland --parent_theme=umbrella --theme_name=Zombieland --author=Tallahassee --author_uri=https://wp-cli.org --theme_uri=http://www.zombieland.com`
108 Then the {THEME_DIR}/zombieland/style.css file should exist
@@ -21,8 +19,6 @@ Feature: WordPress code scaffolding
2119
2220 Scenario : Scaffold a child theme with only --parent_theme parameter
2321 Given a WP install
24- And I run `wp theme path`
25- And save STDOUT as {THEME_DIR}
2622
2723 When I run `wp scaffold child-theme hello-world --parent_theme=simple-life`
2824 Then STDOUT should not be empty
@@ -68,9 +64,6 @@ Feature: WordPress code scaffolding
6864 When I run `wp theme install twentytwentyone --force`
6965 Then STDOUT should not be empty
7066
71- And I run `wp theme path`
72- And save STDOUT as {THEME_DIR}
73-
7467 When I run `wp scaffold child-theme first-run --parent_theme=twentytwentyone --theme_name="First Run Name" --activate`
7568 Then STDOUT should contain:
7669 """
@@ -129,8 +122,6 @@ Feature: WordPress code scaffolding
129122 @theme
130123 Scenario : Scaffold a child theme with dots in the slug
131124 Given a WP install
132- And I run `wp theme path`
133- And save STDOUT as {THEME_DIR}
134125
135126 When I run `wp scaffold child-theme my-theme-2.0.1 --parent_theme=umbrella`
136127 Then the {THEME_DIR}/my-theme-2.0.1/functions.php file should exist
@@ -267,8 +258,6 @@ Feature: WordPress code scaffolding
267258
268259 Scenario : Scaffold a plugin
269260 Given a WP install
270- And I run `wp plugin path`
271- And save STDOUT as {PLUGIN_DIR}
272261 And I run `wp core version`
273262 And save STDOUT as {WP_VERSION}
274263
@@ -403,8 +392,6 @@ Feature: WordPress code scaffolding
403392 @require-php-5.6 @require-wp-4.6
404393 Scenario: Scaffold starter code for a theme
405394 Given a WP install
406- And I run `wp theme path`
407- And save STDOUT as {THEME_DIR}
408395
409396 # Allow for warnings to be generated due to https://github.com/wp-cli/scaffold-command/issues/181
410397 When I try `wp scaffold _s starter-theme`
@@ -418,8 +405,6 @@ Feature: WordPress code scaffolding
418405 @require-php-5.6 @require-wp-4.6
419406 Scenario: Scaffold starter code for a theme with sass
420407 Given a WP install
421- And I run `wp theme path`
422- And save STDOUT as {THEME_DIR}
423408
424409 # Allow for warnings to be generated due to https://github.com/wp-cli/scaffold-command/issues/181
425410 When I try `wp scaffold _s starter-theme --sassify`
@@ -432,8 +417,6 @@ Feature: WordPress code scaffolding
432417 @require-php-5.6 @require-wp-4.6
433418 Scenario: Scaffold starter code for a WooCommerce theme
434419 Given a WP install
435- And I run `wp theme path`
436- And save STDOUT as {THEME_DIR}
437420
438421 # Allow for warnings to be generated due to https://github.com/wp-cli/scaffold-command/issues/181
439422 When I try `wp scaffold _s starter-theme --woocommerce`
@@ -532,8 +515,6 @@ Feature: WordPress code scaffolding
532515 Given a WP install
533516 When I run `wp core version`
534517 Then save STDOUT as {WP_VERSION}
535- When I run `wp plugin path`
536- Then save STDOUT as {PLUGIN_DIR}
537518
538519 When I run `wp scaffold plugin hello-world`
539520 Then STDOUT should not be empty
0 commit comments