From e1590df41809916ea9396dc2b01b6ffa2f5328d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Abdelkader=20Mart=C3=ADnez=20P=C3=A9rez?= Date: Wed, 21 Aug 2019 11:28:16 +0200 Subject: [PATCH] Using "response reason phrase" instead of "response phrase" in step --- spec/test/features/control/delete/list_order.feature | 12 ++++++------ spec/test/features/control/insert/list_order.feature | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/spec/test/features/control/delete/list_order.feature b/spec/test/features/control/delete/list_order.feature index df7fdd6..2a54b5c 100644 --- a/spec/test/features/control/delete/list_order.feature +++ b/spec/test/features/control/delete/list_order.feature @@ -19,11 +19,11 @@ Feature: Routes auto-ordering after deleting in a Kapow! server. When I delete the first route inserted Then I get 200 as response code - And I get "OK" as response phrase + And I get "OK" as response reason phrase And I get an empty response body When I request a routes listing Then I get 200 as response code - And I get "OK" as response phrase + And I get "OK" as response reason phrase And I get a list with the following elements: """ [ @@ -60,11 +60,11 @@ Feature: Routes auto-ordering after deleting in a Kapow! server. When I delete the last route inserted Then I get 200 as response code - And I get "OK" as response phrase + And I get "OK" as response reason phrase And I get an empty response body When I request a routes listing Then I get 200 as response code - And I get "OK" as response phrase + And I get "OK" as response reason phrase And I get a list with the following elements: """ [ @@ -102,11 +102,11 @@ Feature: Routes auto-ordering after deleting in a Kapow! server. When I delete the second route inserted Then I get 200 as response code - And I get "OK" as response phrase + And I get "OK" as response reason phrase And I get an empty response body When I request a routes listing Then I get 200 as response code - And I get "OK" as response phrase + And I get "OK" as response reason phrase And I get a list with the following elements: """ [ diff --git a/spec/test/features/control/insert/list_order.feature b/spec/test/features/control/insert/list_order.feature index 122e78e..676c81d 100644 --- a/spec/test/features/control/insert/list_order.feature +++ b/spec/test/features/control/insert/list_order.feature @@ -25,7 +25,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. } """ Then I get 200 as response code - And I get "OK" as response phrase + And I get "OK" as response reason phrase And I get the following entity as response body: """ { @@ -39,7 +39,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. """ When I request a routes listing Then I get 200 as response code - And I get "OK" as response phrase + And I get "OK" as response reason phrase And I get a list with the following elements: """ [ @@ -85,7 +85,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. } """ Then I get 200 as response code - And I get "OK" as response phrase + And I get "OK" as response reason phrase And I get the following entity as response body: """ { @@ -99,7 +99,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. """ When I request a routes listing Then I get 200 as response code - And I get "OK" as response phrase + And I get "OK" as response reason phrase And I get a list with the following elements: """ [ @@ -146,7 +146,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. } """ Then I get 200 as response code - And I get "OK" as response phrase + And I get "OK" as response reason phrase And I get the following entity as response body: """ { @@ -160,7 +160,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. """ When I request a routes listing Then I get 200 as response code - And I get "OK" as response phrase + And I get "OK" as response reason phrase And I get a list with the following elements: """ [