OSDN Git Service

Added scaffold plugin activation test
authorjmslbam <jmslbam@gmail.com>
Sun, 12 May 2013 23:11:11 +0000 (01:11 +0200)
committerjmslbam <jmslbam@gmail.com>
Sun, 12 May 2013 23:11:11 +0000 (01:11 +0200)
features/scaffold.feature

index 1285ddb..ba516bf 100644 (file)
@@ -4,7 +4,7 @@ Feature: Wordpress code scaffolding
   Scenario: Scaffold a child theme
     Given a WP install
 
-    When I run `wp scaffold child-theme zombieland --parent_theme=umbrella`
+    When I run `wp scaffold child-theme zombieland --parent_theme=umbrella --theme_name=Zombieland --author=Tallahassee --author_uri=http://www.wp-cli.org --theme_uri=http://www.zombieland.com  --activate`
     Then it should run without errors
     
     When I run `wp theme path`
@@ -16,7 +16,7 @@ Feature: Wordpress code scaffolding
   Scenario: Scaffold a plugin
     Given a WP install
 
-    When I run `wp scaffold plugin zombieland`
+    When I run `wp scaffold plugin zombieland --activate`
     Then it should run without errors
     
     When I run `wp path path`