OSDN Git Service

add regression test
authorscribu <mail@scribu.net>
Mon, 5 Aug 2013 19:59:21 +0000 (22:59 +0300)
committerscribu <mail@scribu.net>
Mon, 5 Aug 2013 19:59:38 +0000 (22:59 +0300)
features/help.feature

index 10626d6..f8ee09c 100644 (file)
@@ -20,10 +20,17 @@ Feature: Get help about WP-CLI commands
     And STDERR should not be empty
 
   Scenario: Help for incomplete commands
-    Given an empty directory
+    Given a WP install
 
     When I run `wp core`
     Then STDOUT should contain:
       """
       usage: wp core
       """
+
+    # See https://github.com/wp-cli/wp-cli/issues/633
+    When I run `wp plugin install`
+    Then STDOUT should contain:
+      """
+      usage: wp plugin install
+      """