This commit is contained in:
Héctor Hurtado
2019-10-25 09:52:12 +02:00
parent 26a7b690b7
commit c3be29255a
17 changed files with 25 additions and 25 deletions
@@ -28,4 +28,4 @@ Feature: Kapow! server reject append requests with malformed JSON bodies.
Hi! I am an invalid JSON document.
"""
Then I get 400 as response code
And I get "Malformed JSON" as response reason phrase
# And I get "Malformed JSON" as response reason phrase
@@ -31,7 +31,7 @@ Feature: Kapow! server rejects requests with semantic errors.
}
"""
Then I get 422 as response code
And I get "Invalid Route" as response reason phrase
# And I get "Invalid Route" as response reason phrase
Scenario: Error because bad route format.
If a request contains an invalid expression in the
@@ -48,4 +48,4 @@ Feature: Kapow! server rejects requests with semantic errors.
}
"""
Then I get 422 as response code
And I get "Invalid Route" as response reason phrase
# And I get "Invalid Route" as response reason phrase
@@ -33,7 +33,7 @@ Feature: Append new routes in Kapow! server.
}
"""
Then I get 201 as response code
And I get "Created" as response reason phrase
# And I get "Created" as response reason phrase
And I get the following response body:
"""
{
@@ -64,7 +64,7 @@ Feature: Append new routes in Kapow! server.
}
"""
Then I get 201 as response code
And I get "Created" as response reason phrase
# And I get "Created" as response reason phrase
And I get the following response body:
"""
{