Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
corepost
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
nexlab
corepost
Commits
a21bada8
Commit
a21bada8
authored
Mar 16, 2012
by
Jacek Furmankiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ability to parse JSON documents for method arguments
parent
1261244b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
arguments.feature
corepost/test/feature/arguments.feature
+7
-0
No files found.
corepost/test/feature/arguments.feature
View file @
a21bada8
...
@@ -44,6 +44,13 @@ Feature: Arguments
...
@@ -44,6 +44,13 @@ Feature: Arguments
"""
"""
Then
I expect HTTP code
<code>
Then
I expect HTTP code
<code>
And
I expect content contains 'Jane Doeovskaya'
And
I expect content contains 'Jane Doeovskaya'
# additional arguments should be OK
When as user 'None
:
None' I <method> 'http
:
//127.0.0.1
:
8082/formOrJson'
with
JSON
"""
{"first":"Jane","last":"Doeovskaya","middle":"Oksana"}
"""
Then
I expect HTTP code
<code>
And
I expect content contains 'Jane Doeovskaya'
Examples
:
Examples
:
|
method
|
code
|
|
method
|
code
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment