Implementing 204 on delete and removing unnecessary steps
This commit is contained in:
@@ -10,5 +10,5 @@ Feature: Delete routes in Kapow! server.
|
||||
| GET | /listRootDir | /bin/sh -c | ls -la / \| response /body |
|
||||
| GET | /listDir/{dirname} | /bin/sh -c | ls -la /request/params/dirname \| response /body |
|
||||
When I delete the first route
|
||||
Then I get 200 as response code
|
||||
And I get "OK" as response reason phrase
|
||||
Then I get 204 as response code
|
||||
And I get "No Content" as response reason phrase
|
||||
|
||||
Reference in New Issue
Block a user