New route added for 'Control API' for retrieving route info

This commit is contained in:
Héctor Hurtado
2019-08-23 13:11:05 +02:00
parent fc760205ea
commit d564ff9206
3 changed files with 74 additions and 9 deletions
@@ -0,0 +1,12 @@
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