Closes: #66
This commit is contained in:
@@ -36,4 +36,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
|
||||
|
||||
@@ -30,7 +30,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
|
||||
@@ -48,7 +48,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
|
||||
@@ -66,4 +66,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
|
||||
|
||||
@@ -39,7 +39,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:
|
||||
"""
|
||||
{
|
||||
@@ -68,7 +68,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:
|
||||
"""
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user