diff --git a/spec/test/features/control/append/success.feature b/spec/test/features/control/append/success.feature index d86a42c..a57662f 100644 --- a/spec/test/features/control/append/success.feature +++ b/spec/test/features/control/append/success.feature @@ -19,7 +19,7 @@ Feature: Append new routes in Kapow! server. """ Then I get 201 as response code And I get "Created" as response reason phrase - And I get the following entity as response body: + And I get the following response body: """ { "method": "GET", @@ -50,7 +50,7 @@ Feature: Append new routes in Kapow! server. """ Then I get 201 as response code And I get "Created" as response reason phrase - And I get the following entity as response body: + And I get the following response body: """ { "method": "GET", diff --git a/spec/test/features/control/insert/error_unprocessable.feature b/spec/test/features/control/insert/error_unprocessable.feature index 2f8ad59..3a2f78f 100644 --- a/spec/test/features/control/insert/error_unprocessable.feature +++ b/spec/test/features/control/insert/error_unprocessable.feature @@ -17,7 +17,7 @@ Feature: Kapow! server reject insert responses with semantic errors. """ Then I get 422 as response code And I get "Missing Mandatory Field" as response reason phrase - And I get the following entity as response body: + And I get the following response body: """ { "missing_mandatory_fields": [ diff --git a/spec/test/features/control/insert/list_order.feature b/spec/test/features/control/insert/list_order.feature index 676c81d..25ce6d4 100644 --- a/spec/test/features/control/insert/list_order.feature +++ b/spec/test/features/control/insert/list_order.feature @@ -26,7 +26,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. """ Then I get 200 as response code And I get "OK" as response reason phrase - And I get the following entity as response body: + And I get the following response body: """ { "method": "GET", @@ -86,7 +86,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. """ Then I get 200 as response code And I get "OK" as response reason phrase - And I get the following entity as response body: + And I get the following response body: """ { "method": "GET", @@ -147,7 +147,7 @@ Feature: Routes auto-ordering after inserting in a Kapow! server. """ Then I get 200 as response code And I get "OK" as response reason phrase - And I get the following entity as response body: + And I get the following response body: """ { "method": "GET", diff --git a/spec/test/features/control/insert/success.feature b/spec/test/features/control/insert/success.feature index 1c1fdb6..2b8afc7 100644 --- a/spec/test/features/control/insert/success.feature +++ b/spec/test/features/control/insert/success.feature @@ -25,7 +25,7 @@ Feature: Insert new routes in Kapow! server. """ Then I get 200 as response code And I get "OK" as response reason phrase - And I get the following entity as response body: + And I get the following response body: """ { "method": "GET", @@ -54,7 +54,7 @@ Feature: Insert new routes in Kapow! server. """ Then I get 200 as response code And I get "OK" as response reason phrase - And I get the following entity as response body: + And I get the following response body: """ { "method": "GET", diff --git a/spec/test/features/steps/steps.py b/spec/test/features/steps/steps.py index cc2cab2..aa8ac84 100644 --- a/spec/test/features/steps/steps.py +++ b/spec/test/features/steps/steps.py @@ -132,7 +132,7 @@ def step_impl(context, reason): assert context.response.reason == reason, f"Got {context.response.reason} instead" -@then('I get the following entity as response body') +@then('I get the following response body') def step_impl(context): for row in context.table: for name, value in row.items():