Fixed some formating and naming issues

This commit is contained in:
Héctor Hurtado
2019-08-20 10:51:24 +02:00
parent 2b31b2b9f0
commit b86454179a
6 changed files with 84 additions and 84 deletions
@@ -1,4 +1,4 @@
Feature: Kapow! server reject responses with malformed JSON bodies. Feature: Kapow! server reject append requests with malformed JSON bodies.
Kapow! server will reject to append a route when Kapow! server will reject to append a route when
it receives a malformed json document in the it receives a malformed json document in the
request body. request body.
@@ -1,4 +1,4 @@
Feature: Routes auto-ordering in a Kapow! server. Feature: Routes auto-ordering after deleting in a Kapow! server.
When deleting routes the server will mantain the When deleting routes the server will mantain the
remaining routes ordered an with consecutive indexes. remaining routes ordered an with consecutive indexes.
@@ -12,7 +12,8 @@ Feature: Routes auto-ordering in a Kapow! server.
| GET | /listDir/{dirname} | /bin/sh -c | ls -la /request/params/dirname \| response /body | | GET | /listDir/{dirname} | /bin/sh -c | ls -la /request/params/dirname \| response /body |
Scenario: Removing the first routes. Scenario: Removing the first routes.
When removing the first route the remaining ones
After removing the first route the remaining ones
will maintain their relative order and their indexes will maintain their relative order and their indexes
will be decreased by one. will be decreased by one.
@@ -30,7 +31,7 @@ Feature: Routes auto-ordering in a Kapow! server.
| GET | /listDir/{dirname} | /bin/sh -c | ls -la /request/params/dirname \| response /body | 2 | * | | GET | /listDir/{dirname} | /bin/sh -c | ls -la /request/params/dirname \| response /body | 2 | * |
Scenario: Removing the last routes. Scenario: Removing the last routes.
When removing the last route the remaining ones will After removing the last route the remaining ones will
maintain their relative order and indexes. maintain their relative order and indexes.
When I delete the last route inserted When I delete the last route inserted
@@ -47,7 +48,7 @@ Feature: Routes auto-ordering in a Kapow! server.
| GET | /listEtcDir | /bin/sh -c | ls -la /etc \| response /body | 2 | * | | GET | /listEtcDir | /bin/sh -c | ls -la /etc \| response /body | 2 | * |
Scenario: Removing a midst route. Scenario: Removing a midst route.
When removing a midst route the remaining ones will After removing a midst route the remaining ones will
maintain their relative order and the indexes of the maintain their relative order and the indexes of the
following routes will be decreased by one. following routes will be decreased by one.
@@ -1,4 +1,4 @@
Feature: Kapow! server reject responses with malformed JSON bodies. Feature: Kapow! server reject insert requests with malformed JSON bodies.
Kapow! server will reject to insert a route when Kapow! server will reject to insert a route when
it receives a malformed json document in the it receives a malformed json document in the
request body. request body.
@@ -1,4 +1,4 @@
Feature: Routes auto-ordering in a Kapow! server. Feature: Routes auto-ordering after inserting in a Kapow! server.
When inserting routes the server will mantain the When inserting routes the server will mantain the
whole set of routes ordered an with consecutive indexes. whole set of routes ordered an with consecutive indexes.
@@ -10,7 +10,7 @@ Feature: Routes auto-ordering in a Kapow! server.
| GET | /listDir/{dirname} | /bin/sh -c | ls -la /request/params/dirname \| response /body | | GET | /listDir/{dirname} | /bin/sh -c | ls -la /request/params/dirname \| response /body |
Scenario: Inserting before the first route. Scenario: Inserting before the first route.
When inserting before the first route the previous set After inserting before the first route the previous set
will maintain their relative order and their indexes will maintain their relative order and their indexes
will be increased by one. will be increased by one.
@@ -32,7 +32,7 @@ Feature: Routes auto-ordering in a Kapow! server.
| GET | /listDir/{dirname} | /bin/sh -c | ls -la /request/params/dirname \| response /body | 2 | * | | GET | /listDir/{dirname} | /bin/sh -c | ls -la /request/params/dirname \| response /body | 2 | * |
Scenario: Inserting after the last routes. Scenario: Inserting after the last routes.
When inserting after the last route the previous set After inserting after the last route the previous set
will maintain their relative order and indexes. will maintain their relative order and indexes.
When I insert the route: When I insert the route:
@@ -53,7 +53,7 @@ Feature: Routes auto-ordering in a Kapow! server.
| GET | /listVarDir | /bin/sh -c | ls -la /var \| response /body | 2 | * | | GET | /listVarDir | /bin/sh -c | ls -la /var \| response /body | 2 | * |
Scenario: Inserting a midst route. Scenario: Inserting a midst route.
When inserting a midst route the previous route set After inserting a midst route the previous route set
will maintain their relative order and the indexes will maintain their relative order and the indexes
of thefollowing routes will be increased by one. of thefollowing routes will be increased by one.
@@ -1,5 +1,4 @@
Feature: Listing routes in a Kapow! server Feature: Listing routes in a Kapow! server
Listing routes allow users to know what commands are Listing routes allow users to know what commands are
available on a Kapow! server. The List endpoint returns available on a Kapow! server. The List endpoint returns
a list of the routes the server has configured. a list of the routes the server has configured.