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:
e983e95
)
Update "Generating Users" scenario to accommodate deleting multiple users in one go.
author
Daniel Bachhuber
<d@danielbachhuber.com>
Sun, 14 Jul 2013 02:15:37 +0000
(19:15 -0700)
committer
Daniel Bachhuber
<d@danielbachhuber.com>
Sun, 14 Jul 2013 02:15:37 +0000
(19:15 -0700)
features/user.feature
patch
|
blob
|
history
diff --git
a/features/user.feature
b/features/user.feature
index
137ee89
..
c2d4a51
100644
(file)
--- a/
features/user.feature
+++ b/
features/user.feature
@@
-19,7
+19,7
@@
Feature: Manage WordPress users
When I run `wp user delete {USER_ID}`
Then STDOUT should not be empty
- Scenario: Generating users
+ Scenario: Generating
and deleting
users
Given a WP install
# Delete all users
@@
-36,6
+36,10
@@
Feature: Manage WordPress users
10
"""
+ When I run `wp user delete $(wp user list --format=ids)`
+ And I run `wp user list --format=ids`
+ Then STDOUT should be empty
+
Scenario: Importing users from a CSV file
Given a WP install
And a users.csv file: