From: scribu Date: Tue, 14 May 2013 21:11:50 +0000 (+0300) Subject: try the --activate flag for `wp scaffold plugin` one more time X-Git-Tag: v0.10.0~53^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4e436222a11efc1b492fa0c56791aa55e687f4c7;p=wvm%2Fwvm.git try the --activate flag for `wp scaffold plugin` one more time --- diff --git a/features/scaffold.feature b/features/scaffold.feature index e2cc2b4e..c638f6c1 100644 --- a/features/scaffold.feature +++ b/features/scaffold.feature @@ -10,14 +10,13 @@ Feature: Wordpress code scaffolding Then STDOUT should not be empty And the {THEME_DIR}/zombieland/style.css file should exist - # Adding --activate to the test crashes the tests @plugin Scenario: Scaffold a plugin Given a WP install And I run `wp plugin path` And save STDOUT as {PLUGIN_DIR} - When I run `wp scaffold plugin zombieland --plugin_name="Welcome to Zombieland"` + When I run `wp scaffold plugin zombieland --plugin_name="Welcome to Zombieland" --activate` Then STDOUT should not be empty And the {PLUGIN_DIR}/zombieland/zombieland.php file should exist