[Behat] Be consistent with shipping method naming

This commit is contained in:
Mateusz Zalewski 2016-11-15 14:57:02 +01:00
parent e83bc0f4b8
commit 80cfe527f8
No known key found for this signature in database
GPG key ID: CFC1E4176165876B
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)
{