Implement get route details. Closes #12
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
Feature: Retrieve route info in Kapow! server.
|
||||
Users can retrieve route info from the server by
|
||||
specifying its id.
|
||||
Feature: Retrieve route details in Kapow! server.
|
||||
Users can retrieve route details from the server
|
||||
by specifying its id.
|
||||
|
||||
Scenario: Retrieve route info.
|
||||
Get route info by spscifying its id.
|
||||
Scenario: Retrieve route details.
|
||||
Get route details by id.
|
||||
|
||||
Given I have a Kapow! server whith the following routes:
|
||||
Given I have a Kapow! server with the following routes:
|
||||
| method | url_pattern | entrypoint | command |
|
||||
| GET | /listRootDir | /bin/sh -c | ls -la / \| response /body |
|
||||
| GET | /listDir/{dirname} | /bin/sh -c | ls -la /request/params/dirname \| response /body |
|
||||
When I get the first route info
|
||||
When I get the first route
|
||||
Then I get 200 as response code
|
||||
And I get "OK" as response reason phrase
|
||||
And I get the following response body:
|
||||
|
||||
Reference in New Issue
Block a user