From f6014ab4036fbfba47855828d7b899bfd2ae7a11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Abdelkader=20Mart=C3=ADnez=20P=C3=A9rez?= Date: Wed, 21 Aug 2019 08:38:13 +0200 Subject: [PATCH] Step alias for JSON document. --- spec/test/features/control/append/error_malformed.feature | 2 +- spec/test/features/steps/steps.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/test/features/control/append/error_malformed.feature b/spec/test/features/control/append/error_malformed.feature index f0120ee..4c4f9f0 100644 --- a/spec/test/features/control/append/error_malformed.feature +++ b/spec/test/features/control/append/error_malformed.feature @@ -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", diff --git a/spec/test/features/steps/steps.py b/spec/test/features/steps/steps.py index 16edd2d..191d927 100644 --- a/spec/test/features/steps/steps.py +++ b/spec/test/features/steps/steps.py @@ -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')