OSDN Git Service

Use P2, which isn't conditionally present in some WordPress installs
authorDaniel Bachhuber <d@danielbachhuber.com>
Tue, 20 Aug 2013 14:13:30 +0000 (07:13 -0700)
committerDaniel Bachhuber <d@danielbachhuber.com>
Tue, 20 Aug 2013 14:13:30 +0000 (07:13 -0700)
features/theme.feature

index e01b40d..c05ecd0 100644 (file)
@@ -72,13 +72,13 @@ Feature: Manage WordPress themes
   Scenario: Get the path of an installed theme
     Given a WP install
 
-    When I run `wp theme install twentyeleven`
+    When I run `wp theme install p2`
     Then STDOUT should not be empty
 
-    When I run `wp theme path twentyeleven --dir`
+    When I run `wp theme path p2 --dir`
     Then STDOUT should contain:
        """
-       wp-content/themes/twentyeleven
+       wp-content/themes/p2
        """
 
   Scenario: Get details about an installed theme