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:
a0f456c
)
search-replace: add test for --skip-columns
author
scribu
<mail@scribu.net>
Wed, 22 May 2013 13:04:19 +0000
(16:04 +0300)
committer
scribu
<mail@scribu.net>
Wed, 22 May 2013 13:04:21 +0000
(16:04 +0300)
see #464
features/search-replace.feature
patch
|
blob
|
history
diff --git
a/features/search-replace.feature
b/features/search-replace.feature
index
30d9ecb
..
d5bf8ff
100644
(file)
--- a/
features/search-replace.feature
+++ b/
features/search-replace.feature
@@
-4,4
+4,13
@@
Feature: Do global search/replace
Given a WP install
When I run `wp search-replace foo bar`
- Then STDOUT should not be empty
+ Then STDOUT should contain:
+ """
+ guid
+ """
+
+ When I run `wp search-replace foo bar --skip-columns=guid`
+ Then STDOUT should not contain:
+ """
+ guid
+ """