From e3fbb0525f241e3a3e9d3a4e244a53cb26fa0a81 Mon Sep 17 00:00:00 2001 From: jmslbam Date: Sun, 12 May 2013 23:02:20 +0200 Subject: [PATCH] Merged CPT and Tax test --- features/scaffold.feature | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/features/scaffold.feature b/features/scaffold.feature index 7f018db3..acd875f5 100644 --- a/features/scaffold.feature +++ b/features/scaffold.feature @@ -1,6 +1,6 @@ Feature: Wordpress code scaffolding - Scenario: Scaffold a Custom Taxonomy and write it to active theme + Scenario: Scaffold a Custom Taxonomy and Custom Post Type and write it to active theme Given a WP install When I run `wp scaffold taxonomy zombie-speed --theme` @@ -11,15 +11,8 @@ Feature: Wordpress code scaffolding And save STDOUT as {STYLESHEETPATH} And the {STYLESHEETPATH}/taxonomies/zombie-speed.php file should exist - Scenario: Scaffold a Custom Post Type and write it to active theme - Given a WP install - When I run `wp scaffold post-type zombie --theme` Then it should run without errors - - When I run `wp eval 'echo STYLESHEETPATH;'` - Then it should run without errors - And save STDOUT as {STYLESHEETPATH} And the {STYLESHEETPATH}/post-types/zombie.php file should exist # Test for all flags but --label, --theme, --plugin and --raw -- 2.11.0