Implementing 204 on delete and removing unnecessary steps

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-08-23 12:01:51 +02:00
parent 93a3562c04
commit 8752f419b5
3 changed files with 9 additions and 21 deletions
@@ -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