Merge pull request #6733 from Zales0123/change-shipment-to-shipping-method

[Behat] Be consistent with shipping method naming
This commit is contained in:
Paweł Jędrzejewski 2016-11-16 11:28:16 +01:00 committed by GitHub
commit d4079b383d
3 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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)
{