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:
c92524f
)
behat: work around bug in WP 3.4.2 related to serializing custom fields
author
scribu
<mail@scribu.net>
Sun, 19 May 2013 18:06:55 +0000
(21:06 +0300)
committer
scribu
<mail@scribu.net>
Sun, 19 May 2013 18:06:55 +0000
(21:06 +0300)
features/post-meta.feature
patch
|
blob
|
history
diff --git
a/features/post-meta.feature
b/features/post-meta.feature
index
664417b
..
5c3ecd1
100644
(file)
--- a/
features/post-meta.feature
+++ b/
features/post-meta.feature
@@
-12,13
+12,13
@@
Feature: Manage post custom fields
bar
"""
- When I run `wp post-meta set 1 foo '[
1, 2
]' --format=json`
+ When I run `wp post-meta set 1 foo '[
"1", "2"
]' --format=json`
Then STDOUT should not be empty
When I run `wp post-meta get 1 foo --format=json`
Then STDOUT should be:
"""
- [
1,2
]
+ [
"1","2"
]
"""
When I run `wp post-meta delete 1 foo`