Rewritten the step to start a preconfigured server

This commit is contained in:
Héctor Hurtado
2019-08-17 10:24:10 +02:00
parent fc5e510f89
commit 12a5d8761b
2 changed files with 3 additions and 3 deletions
@@ -12,11 +12,11 @@ Feature: Listing routes in a Kapow! server
When I request a routes listing
Then I get an empty list
Scenario: Listing routes on a server with routes loaded
Scenario: Listing routes on a server with routes loaded.
After some route creation/insertion operations the server
must return an ordered list of routes stored.
Given I have a Kapow! server whith this routes appended:
Given I have a Kapow! server whith the following routes:
| 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 |