Step alias for JSON document.

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-08-21 08:38:13 +02:00
parent 0cfc55c175
commit f6014ab403
2 changed files with 2 additions and 1 deletions
@@ -8,7 +8,7 @@ Feature: Kapow! server reject append requests with malformed JSON bodies.
the server will respond with a bad request error.
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",
+1
View File
@@ -167,6 +167,7 @@ def step_impl(context):
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')
def step_impl(context):
raise NotImplementedError('STEP: When I try to append with this JSON document')