Change response code from phrase to code and 'phrase' by 'reason phrase'
This commit is contained in:
1 parent
5352322ad5
commit
5e253c9814
7 files changed
+73
-24
No files matched your search
@@ -16,8 +16,8 @@ Feature: Insert new routes in Kapow! server.
|
||||
When I insert the route:
|
||||
| method | url_pattern | entrypoint | command | index |
|
||||
| GET | /listRootDir | /bin/sh -c | ls -la / \| response /body | 0 |
|
||||
Then I get ok as response code
|
||||
And I get "OK" as response phrase
|
||||
Then I get 200 as response code
|
||||
And I get "OK" as response reason phrase
|
||||
And I get the following entity as response body:
|
||||
| method | url_pattern | entrypoint | command | index | id |
|
||||
| GET | /listRootDir | /bin/sh -c | ls -la / \| response /body | 0 | * |
|
||||
@@ -30,8 +30,8 @@ Feature: Insert new routes in Kapow! server.
|
||||
When I insert the route:
|
||||
| method | url_pattern | entrypoint | command | index |
|
||||
| GET | /listRootDir | /bin/sh -c | ls -la / \| response /body | 1 |
|
||||
Then I get ok as response code
|
||||
And I get "OK" as response phrase
|
||||
Then I get 200 as response code
|
||||
And I get "OK" as response reason phrase
|
||||
And I get the following entity as response body:
|
||||
| method | url_pattern | entrypoint | command | index | id |
|
||||
| GET | /listRootDir | /bin/sh -c | ls -la / \| response /body | 1 | * |
|
||||
Reference in new issue
Block a user