OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e664d8
)
behat: add test for relative 'require:' path in wp-cli.yml
author
scribu
<mail@scribu.net>
Tue, 25 Jun 2013 10:20:44 +0000
(13:20 +0300)
committer
scribu
<mail@scribu.net>
Tue, 25 Jun 2013 10:20:44 +0000
(13:20 +0300)
features/config.feature
patch
|
blob
|
history
diff --git
a/features/config.feature
b/features/config.feature
index
8381358
..
a51d366
100644
(file)
--- a/
features/config.feature
+++ b/
features/config.feature
@@
-14,8
+14,13
@@
Feature: Have a config file
Scenario: Config file in WP Root
Given a WP install
+ And a sample.php file:
+ """
+ <?php
+ """
And a wp-cli.yml file:
"""
+ require: sample.php
"""
When I run `wp --info`
@@
-27,6
+32,9
@@
Feature: Have a config file
When I run `wp core is-installed`
Then STDOUT should be empty
+ When I run `wp` from 'wp-content'
+ Then STDOUT should not be empty
+
Scenario: WP in a subdirectory
Given a WP install in 'core'
And a wp-cli.yml file: