Revert "Closes: #66"

This reverts commit c3be29255a.

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
This commit is contained in:
pancho horrillo
2019-11-11 17:17:25 +01:00
parent 19f7cb0171
commit 9eb186bd0f
17 changed files with 27 additions and 27 deletions
@@ -37,4 +37,4 @@ Feature: Kapow! server rejects insertion requests with malformed JSON bodies.
}
"""
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 insertion 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 wrong route specification.
If a request contains an invalid expression in the
@@ -49,7 +49,7 @@ Feature: Kapow! server rejects insertion 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 negative index specified.
If a request contains a negative number in the
@@ -67,4 +67,4 @@ Feature: Kapow! server rejects insertion 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
@@ -40,7 +40,7 @@ Feature: Insert 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:
"""
{
@@ -69,7 +69,7 @@ Feature: Insert 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:
"""
{