Files
kapow/spec/test/features/control/get/error_notfound.feature
Roberto Abdelkader Martínez Pérez 6b0ff05010 Implement get route details. Closes #12
2019-08-23 15:18:54 +02:00

13 lines
524 B
Gherkin

Feature: Fail to retrieve route details in Kapow! server.
When trying to get route details for a route that
does no exist the server responds with an error.
Scenario: Try to get details for a nonexistent route.
A request for retrieving details for a nonexistent
route will trigger a not found error.
Given I have a just started Kapow! server
When I get the route with id "xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx"
Then I get 404 as response code
And I get "Not Found" as response reason phrase