Added features for append/error_malformed, delete/list_order, insert/error_malformed and insert/list_order. Updated append/error_unprocessable and resolve conflicts in list/success.
This commit is contained in:
@@ -9,10 +9,10 @@ Feature: Listing routes in a Kapow! server
|
||||
will show an empty list of routes.
|
||||
|
||||
Given I have a just started Kapow! server
|
||||
When I request a routes listing
|
||||
Then I get 200 as response code
|
||||
And I get "OK" as response phrase
|
||||
And I get an empty list
|
||||
When I request a routes listing
|
||||
Then I get 200 as response code
|
||||
And I get "OK" as response phrase
|
||||
And I get an empty list
|
||||
|
||||
Scenario: Listing routes on a server with routes loaded.
|
||||
After some route creation/insertion operations the server
|
||||
@@ -22,10 +22,10 @@ Feature: Listing routes in a Kapow! server
|
||||
| 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 request a routes listing
|
||||
Then I get 200 as response code
|
||||
And I get "OK" as response phrase
|
||||
And I get a list with the following elements:
|
||||
| method | url_pattern | entrypoint | command | index | id |
|
||||
| GET | /listRootDir | /bin/sh -c | ls -la / \| response /body | 0 | * |
|
||||
| GET | /listDir/{dirname} | /bin/sh -c | ls -la /request/params/dirname \| response /body | 1 | * |
|
||||
When I request a routes listing
|
||||
Then I get 200 as response code
|
||||
And I get "OK" as response phrase
|
||||
And I get a list with the following elements:
|
||||
| method | url_pattern | entrypoint | command | index | id |
|
||||
| GET | /listRootDir | /bin/sh -c | ls -la / \| response /body | 0 | * |
|
||||
| GET | /listDir/{dirname} | /bin/sh -c | ls -la /request/params/dirname \| response /body | 1 | * |
|
||||
|
||||
Reference in New Issue
Block a user