Review feature and scenario definitions. Removing unnecesary and redundant steps.

This commit is contained in:
Roberto Abdelkader Martínez Pérez committed 2019-08-23 12:46:10 +02:00
1 parent 8752f419b5
commit 991ae618bb
13 files changed
+62 -150

No files matched your search

@@ -10,14 +10,7 @@ Feature: Kapow! server reject append requests with malformed JSON bodies.
Given I have a running Kapow! server
When I try to append with this malformed JSON document:
"""
{
"method" "GET",
"url_pattern": /hello,
"entrypoint": null
"command": "echo Hello
World | response /body",
"id": "xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx"
}
Hi! I am an invalid JSON document.
"""
Then I get 400 as response code
And I get "Malformed JSON" as response reason phrase