Step alias for JSON document.
This commit is contained in:
@@ -8,7 +8,7 @@ Feature: Kapow! server reject append requests with malformed JSON bodies.
|
|||||||
the server will respond with a bad request error.
|
the server will respond with a bad request error.
|
||||||
|
|
||||||
Given I have a running Kapow! server
|
Given I have a running Kapow! server
|
||||||
When I try to append with this JSON document:
|
When I try to append with this malformed JSON document:
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"method" "GET",
|
"method" "GET",
|
||||||
|
|||||||
@@ -167,6 +167,7 @@ def step_impl(context):
|
|||||||
raise NotImplementedError('STEP: When I insert the route')
|
raise NotImplementedError('STEP: When I insert the route')
|
||||||
|
|
||||||
|
|
||||||
|
@when('I try to append with this malformed JSON document')
|
||||||
@when('I try to append with this JSON document')
|
@when('I try to append with this JSON document')
|
||||||
def step_impl(context):
|
def step_impl(context):
|
||||||
raise NotImplementedError('STEP: When I try to append with this JSON document')
|
raise NotImplementedError('STEP: When I try to append with this JSON document')
|
||||||
|
|||||||
Reference in New Issue
Block a user