Files
kapow/spec/test/features/control/get/error_notfound.feature
2019-08-23 13:11:05 +02:00

13 lines
526 B
Gherkin

Feature: Fail to retrieve a route info in Kapow! server.
When trying to get a route info in the server, if it
does no exists the server respons with an error.
Scenario: Try to get info for a non-existing route.
A request of retrieving a non-existing route info
will trigger a not found error.
Given I have a just started Kapow! server
When I get the info for route with id "xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx"
Then I get 404 as response code
And I get "Not Found" as response reason phrase