Change URL examples by metasyntactic variable names (RFC3092)

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-09-03 09:10:46 +02:00
parent c7e5144308
commit 99ab41d2cb
12 changed files with 64 additions and 64 deletions
@@ -7,8 +7,8 @@ Feature: Retrieve route details in Kapow! server.
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 |
| GET | /foo | /bin/sh -c | ls -la / \| response /body |
| GET | /qux/{dirname} | /bin/sh -c | ls -la /request/params/dirname \| response /body |
When I get the first route
Then I get 200 as response code
And I get "OK" as response reason phrase
@@ -16,7 +16,7 @@ Feature: Retrieve route details in Kapow! server.
"""
{
"method": "GET",
"url_pattern": "/listRootDir",
"url_pattern": "/foo",
"entrypoint": "/bin/sh -c",
"command": "ls -la / | response /body",
"index": 0,