From 80cfe527f89107fb8c11d549983a34e08746e64d Mon Sep 17 00:00:00 2001 From: Mateusz Zalewski Date: Tue, 15 Nov 2016 14:57:02 +0100 Subject: [PATCH] [Behat] Be consistent with shipping method naming --- .../adding_shipping_method.feature | 6 +++--- .../browsing_shipping_methods.feature | 2 +- .../Context/Ui/Admin/ManagingShippingMethodsContext.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/features/shipping/managing_shipping_methods/adding_shipping_method.feature b/features/shipping/managing_shipping_methods/adding_shipping_method.feature index 0c96601742..9fedacab4c 100644 --- a/features/shipping/managing_shipping_methods/adding_shipping_method.feature +++ b/features/shipping/managing_shipping_methods/adding_shipping_method.feature @@ -20,7 +20,7 @@ Feature: Adding a new shipping method And I specify its amount as 50 And I add it Then I should be notified that it has been successfully created - And the shipment method "FedEx Carrier" should appear in the registry + And the shipping method "FedEx Carrier" should appear in the registry @ui @javascript Scenario: Adding a new shipping method with description and flat rate per shipment @@ -33,7 +33,7 @@ Feature: Adding a new shipping method And I specify its amount as 50 And I add it Then I should be notified that it has been successfully created - And the shipment method "FedEx Carrier" should appear in the registry + And the shipping method "FedEx Carrier" should appear in the registry @ui @javascript Scenario: Adding a new shipping method with flat rate per unit @@ -45,4 +45,4 @@ Feature: Adding a new shipping method And I specify its amount as 20 And I add it Then I should be notified that it has been successfully created - And the shipment method "FedEx Carrier" should appear in the registry + And the shipping method "FedEx Carrier" should appear in the registry diff --git a/features/shipping/managing_shipping_methods/browsing_shipping_methods.feature b/features/shipping/managing_shipping_methods/browsing_shipping_methods.feature index f30e67d68a..4751258f4c 100644 --- a/features/shipping/managing_shipping_methods/browsing_shipping_methods.feature +++ b/features/shipping/managing_shipping_methods/browsing_shipping_methods.feature @@ -13,4 +13,4 @@ Feature: Browsing shipping methods Scenario: Browsing defined shipping methods When I want to browse shipping methods Then I should see 2 shipping methods in the list - And the shipment method "FedEx Carrier" should be in the registry + And the shipping method "FedEx Carrier" should be in the registry diff --git a/src/Sylius/Behat/Context/Ui/Admin/ManagingShippingMethodsContext.php b/src/Sylius/Behat/Context/Ui/Admin/ManagingShippingMethodsContext.php index 12edb33b13..70c7d49373 100644 --- a/src/Sylius/Behat/Context/Ui/Admin/ManagingShippingMethodsContext.php +++ b/src/Sylius/Behat/Context/Ui/Admin/ManagingShippingMethodsContext.php @@ -160,8 +160,8 @@ final class ManagingShippingMethodsContext implements Context } /** - * @Then the shipment method :shipmentMethod should appear in the registry - * @Then the shipment method :shipmentMethod should be in the registry + * @Then the shipping method :shipmentMethod should appear in the registry + * @Then the shipping method :shipmentMethod should be in the registry */ public function theShipmentMethodShouldAppearInTheRegistry($shipmentMethodName) {