Review feature and scenario definitions. Removing unnecesary and redundant steps.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
Feature: Append new routes in Kapow! server.
|
||||
Append routes allow users to configure the server. New
|
||||
routes are added to the list of existing routes.
|
||||
Appending routes allows users to configure the server. New
|
||||
routes are added at the end of the list of existing routes.
|
||||
|
||||
Scenario: Append the first route.
|
||||
A fresh server, just started or with all routes removed,
|
||||
A just started server or one with all routes removed,
|
||||
will create a new list of routes. The newly created rule
|
||||
will be at index 0.
|
||||
|
||||
@@ -35,7 +35,7 @@ Feature: Append new routes in Kapow! server.
|
||||
Appending routes on a non empty list will create new routes
|
||||
at the end of the list.
|
||||
|
||||
Given I have a Kapow! server whith the following routes:
|
||||
Given I have a Kapow! server with 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 |
|
||||
|
||||
Reference in New Issue
Block a user