OSDN Git Service

bring back accidentally removed test; see #674
authorscribu <mail@scribu.net>
Wed, 14 Aug 2013 17:00:07 +0000 (20:00 +0300)
committerscribu <mail@scribu.net>
Wed, 14 Aug 2013 17:00:07 +0000 (20:00 +0300)
features/core.feature

index 9d248d6..a06a966 100644 (file)
@@ -101,6 +101,12 @@ Feature: Manage WordPress installation
       false
       """ 
 
+    When I run `wp eval 'var_export( function_exists( 'media_handle_upload' ) );'`
+    Then STDOUT should be:
+      """
+      true
+      """
+
     # Can complain that it's already installed, but don't exit with an error code
     When I try `wp core install --url='localhost:8001' --title='Test' --admin_user=wpcli --admin_email=admin@example.com --admin_password=1`
     Then the return code should be 0