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:
c2594aa
)
Update term.feature to make use of `--fields` argument
author
Daniel Bachhuber
<d@danielbachhuber.com>
Wed, 8 May 2013 23:23:08 +0000
(16:23 -0700)
committer
Daniel Bachhuber
<d@danielbachhuber.com>
Wed, 8 May 2013 23:23:08 +0000
(16:23 -0700)
features/term.feature
patch
|
blob
|
history
diff --git
a/features/term.feature
b/features/term.feature
index
47a4219
..
0c6af7e
100644
(file)
--- a/
features/term.feature
+++ b/
features/term.feature
@@
-17,6
+17,14
@@
Feature: Manage WordPress terms
[{"name":"Test term","slug":"test","description":"This is a test term","parent":"0","count":"0"}]
"""
+ When I run `wp term list post_tag --fields=name,slug --format=csv`
+ Then it should run without errors
+ And STDOUT should be CSV containing:
+ """
+ name,slug
+ "Test term",test
+ """
+
Scenario: Creating/deleting a term
Given a WP install