From: jmslbam Date: Sun, 12 May 2013 22:29:45 +0000 (+0200) Subject: Added child-theme behat test X-Git-Tag: v0.10.0~54^2~7 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=29ee3d3227437b4c3f4d287ea1e878ff4a0c5200;p=wvm%2Fwvm.git Added child-theme behat test --- diff --git a/features/scaffold.feature b/features/scaffold.feature index acd875f5..10b87632 100644 --- a/features/scaffold.feature +++ b/features/scaffold.feature @@ -1,5 +1,18 @@ Feature: Wordpress code scaffolding + @theme + Scenario: Scaffold a child theme + Given a WP install + + When I run `wp scaffold child-theme zombieland --parent_theme=umbrella` + Then it should run without errors + + When I run `wp theme path` + Then it should run without errors + And save STDOUT as {THEME_PATH} + And the {THEME_PATH}/zombieland/style.css file should exist + + Scenario: Scaffold a Custom Taxonomy and Custom Post Type and write it to active theme Given a WP install