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:
5eb3c08
)
Test for `wp comment get`
author
Daniel Bachhuber
<d@danielbachhuber.com>
Tue, 20 Aug 2013 06:04:48 +0000
(23:04 -0700)
committer
Daniel Bachhuber
<d@danielbachhuber.com>
Tue, 20 Aug 2013 14:15:54 +0000
(07:15 -0700)
features/comment.feature
patch
|
blob
|
history
diff --git
a/features/comment.feature
b/features/comment.feature
index
8a9d250
..
69dee8d
100644
(file)
--- a/
features/comment.feature
+++ b/
features/comment.feature
@@
-18,3
+18,11
@@
Feature: Manage WordPress comments
"""
Success: Deleted comment {COMMENT_ID}.
"""
+
+ Scenario: Get details about an existing comment
+ Given a WP install
+
+ When I run `wp comment get 1`
+ Then STDOUT should be a table containing rows:
+ | Field | Value |
+ | comment_author | Mr WordPress |