Change response code from phrase to code and 'phrase' by 'reason phrase'

This commit is contained in:
Roberto Abdelkader Martínez Pérez committed 2019-08-20 09:54:18 +02:00
1 parent 5352322ad5
commit 5e253c9814
7 files changed
+73 -24

No files matched your search

@@ -11,8 +11,8 @@ Feature: Append new routes in Kapow! server.
When I append the route:
| method | url_pattern | entrypoint | command |
| GET | /listRootDir | /bin/sh -c | ls -la / \| response /body |
Then I get created as response code
And I get "Created" as response phrase
Then I get 201 as response code
And I get "Created" 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 | * |
@@ -28,8 +28,8 @@ Feature: Append new routes in Kapow! server.
When I append the route:
| method | url_pattern | entrypoint | command |
| GET | /listEtcDir | /bin/sh -c | ls -la /etc \| response /body |
Then I get created as response code
And I get "Created" as response phrase
Then I get 201 as response code
And I get "Created" as response reason phrase
And I get the following entity as response body:
| method | url_pattern | entrypoint | command | index | id |
| GET | /listEtcDir | /bin/sh -c | ls -la /etc \| response /body | 2 | * |