From 7e687daf2327299c2323c193aac3dbcb23e84072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Hurtado?= Date: Wed, 21 Aug 2019 13:06:56 +0200 Subject: [PATCH] Replaced id wildcard value for ANY --- .../features/control/append/success.feature | 4 ++-- .../control/delete/list_order.feature | 18 +++++++------- .../control/insert/list_order.feature | 24 +++++++++---------- .../features/control/insert/success.feature | 4 ++-- .../features/control/list/success.feature | 4 ++-- 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/spec/test/features/control/append/success.feature b/spec/test/features/control/append/success.feature index 566f977..040660a 100644 --- a/spec/test/features/control/append/success.feature +++ b/spec/test/features/control/append/success.feature @@ -28,7 +28,7 @@ Feature: Append new routes in Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la / | response /body", "index": 0, - "id": "*" + "id": ANY } """ @@ -59,6 +59,6 @@ Feature: Append new routes in Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /etc | response /body", "index": 2, - "id": "*" + "id": ANY } """ diff --git a/spec/test/features/control/delete/list_order.feature b/spec/test/features/control/delete/list_order.feature index 2a54b5c..efa232c 100644 --- a/spec/test/features/control/delete/list_order.feature +++ b/spec/test/features/control/delete/list_order.feature @@ -33,7 +33,7 @@ Feature: Routes auto-ordering after deleting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /var | response /body", "index": 0, - "id": "*" + "id": ANY }, { "method": "GET", @@ -41,7 +41,7 @@ Feature: Routes auto-ordering after deleting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /etc | response /body", "index": 1, - "id": "*" + "id": ANY }, { "method": "GET", @@ -49,7 +49,7 @@ Feature: Routes auto-ordering after deleting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /request/params/dirname | response /body", "index": 2, - "id": "*" + "id": ANY } ] """ @@ -74,7 +74,7 @@ Feature: Routes auto-ordering after deleting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la / | response /body", "index": 0, - "id": "*" + "id": ANY }, { "method": "GET", @@ -82,7 +82,7 @@ Feature: Routes auto-ordering after deleting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /var | response /body", "index": 1, - "id": "*" + "id": ANY }, { "method": "GET", @@ -90,7 +90,7 @@ Feature: Routes auto-ordering after deleting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /etc | response /body", "index": 2, - "id": "*" + "id": ANY } ] """ @@ -116,7 +116,7 @@ Feature: Routes auto-ordering after deleting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la / | response /body", "index": 0, - "id": "*" + "id": ANY }, { "method": "GET", @@ -124,7 +124,7 @@ Feature: Routes auto-ordering after deleting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /etc | response /body", "index": 1, - "id": "*" + "id": ANY }, { "method": "GET", @@ -132,7 +132,7 @@ Feature: Routes auto-ordering after deleting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /request/params/dirname | response /body", "index": 2, - "id": "*" + "id": ANY } ] """ diff --git a/spec/test/features/control/insert/list_order.feature b/spec/test/features/control/insert/list_order.feature index 25ce6d4..aa0dca2 100644 --- a/spec/test/features/control/insert/list_order.feature +++ b/spec/test/features/control/insert/list_order.feature @@ -34,7 +34,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /var | response /body", "index": 0, - "id": "*" + "id": ANY } """ When I request a routes listing @@ -49,7 +49,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /var | response /body", "index": 0, - "id": "*" + "id": ANY }, { "method": "GET", @@ -57,7 +57,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la / | response /body", "index": 1, - "id": "*" + "id": ANY }, { "method": "GET", @@ -65,7 +65,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /request/params/dirname | response /body", "index": 2, - "id": "*" + "id": ANY } ] """ @@ -94,7 +94,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /var | response /body", "index": 2, - "id": "*" + "id": ANY } """ When I request a routes listing @@ -109,7 +109,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la / | response /body", "index": 0, - "id": "*" + "id": ANY }, { "method": "GET", @@ -117,7 +117,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /request/params/dirname | response /body", "index": 1, - "id": "*" + "id": ANY }, { "method": "GET", @@ -125,7 +125,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /var | response /body", "index": 2, - "id": "*" + "id": ANY } ] """ @@ -155,7 +155,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /var | response /body", "index": 1, - "id": "*" + "id": ANY } """ When I request a routes listing @@ -170,7 +170,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la / | response /body", "index": 0, - "id": "*" + "id": ANY }, { "method": "GET", @@ -178,7 +178,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /var | response /body", "index": 1, - "id": "*" + "id": ANY }, { "method": "GET", @@ -186,7 +186,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /request/params/dirname | response /body", "index": 2, - "id": "*" + "id": ANY } ] """ diff --git a/spec/test/features/control/insert/success.feature b/spec/test/features/control/insert/success.feature index 2b8afc7..4d5fcff 100644 --- a/spec/test/features/control/insert/success.feature +++ b/spec/test/features/control/insert/success.feature @@ -33,7 +33,7 @@ Feature: Insert new routes in Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /var | response /body", "index": 0, - "id": "*" + "id": ANY } """ @@ -62,6 +62,6 @@ Feature: Insert new routes in Kapow! server. "entrypoint": "/bin/sh -c", "command": "ls -la /var | response /body", "index": 1, - "id": "*" + "id": ANY } """ diff --git a/spec/test/features/control/list/success.feature b/spec/test/features/control/list/success.feature index 3888c63..e50b410 100644 --- a/spec/test/features/control/list/success.feature +++ b/spec/test/features/control/list/success.feature @@ -33,7 +33,7 @@ Feature: Listing routes in a Kapow! server "entrypoint": "/bin/sh -c", "command": "ls -la / | response /body", "index": 0, - "id": "*" + "id": ANY }, { "method": "GET", @@ -41,7 +41,7 @@ Feature: Listing routes in a Kapow! server "entrypoint": "/bin/sh -c", "command": "ls -la /request/params/dirname | response /body", "index": 1, - "id": "*" + "id": ANY } ] """