[PATCH conductor 13/20] Fixes typo recieve => receive

pblaho at redhat.com pblaho at redhat.com
Fri Jun 8 00:38:06 UTC 2012


From: Petr Blaho <pblaho at redhat.com>

---
 src/features/provider_api.feature                  |   14 +++++++-------
 .../step_definitions/provider_api_steps.rb         |    8 ++++----
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/features/provider_api.feature b/src/features/provider_api.feature
index 5f113b8..c11cb83 100644
--- a/src/features/provider_api.feature
+++ b/src/features/provider_api.feature
@@ -32,37 +32,37 @@ Feature: Manage Providers via API
   Scenario: Get details for provider as XML
     Given there is a provider
     When I ask for details of that provider as XML
-    Then I should recieve details of that provider as XML
+    Then I should receive details of that provider as XML
 
   Scenario: Get details for non existing provider
     When I ask for details of non existing provider as XML
-    Then I should recieve Not Found error
+    Then I should receive Not Found error
 
   Scenario: Create a new provider
     When I create provider with correct data via XML
-    Then I should recieve OK message
+    Then I should receive OK message
     And the provider should be created
 
   Scenario: Create a new provider with bad request
     When I create provider with incorrect data via XML
-    Then I should recieve Bad Request message
+    Then I should receive Bad Request message
     And the provider should not be created
 
 #  Scenario: Update a provider
 #    Given there is a provider
 #    When I update that provider with correct data
-#    Then I should recieve OK message
+#    Then I should receive OK message
 #    And the provider should be updated
 #
 #  Scenario: Update a provider with bad request
 #    Given there is a provider
 #    When I update that provider with incorrect data
-#    Then I should recieve Bad Request message
+#    Then I should receive Bad Request message
 #    And the provider should not be updated
 #
 #  Scenario: Delete Provider
 #    Given there is a provider
-#    When I delete that provider
+#    When I delete that provider via XML
 #    Then I should received an OK message
 #    And the provider should be deleted
 #
diff --git a/src/features/step_definitions/provider_api_steps.rb b/src/features/step_definitions/provider_api_steps.rb
index ec6058c..8ca44f7 100644
--- a/src/features/step_definitions/provider_api_steps.rb
+++ b/src/features/step_definitions/provider_api_steps.rb
@@ -22,7 +22,7 @@ When /^I ask for details of that provider as XML$/ do
   get api_provider_path(@provider.id)
 end
 
-Then /^I should recieve details of that provider as XML$/ do
+Then /^I should receive details of that provider as XML$/ do
   response = last_response
   response.headers['Content-Type'].should include('application/xml')
   response.status.should be_eql(200)
@@ -37,7 +37,7 @@ When /^I ask for details of non existing provider as XML$/ do
   get api_provider_path(1)
 end
 
-Then /^I should recieve Not Found error$/ do
+Then /^I should receive Not Found error$/ do
   response = last_response
   response.headers['Content-Type'].should include('application/xml')
   response.status.should be_eql(404)
@@ -62,7 +62,7 @@ When /^I create provider with correct data via XML$/ do
   post api_providers_path, xml_provider
 end
 
-Then /^I should recieve OK message$/ do
+Then /^I should received?(?: an)? OK message$/ do
   response = last_response
   response.headers['Content-Type'].should include('application/xml')
   response.status.should be_eql(200)
@@ -85,7 +85,7 @@ When /^I create provider with incorrect data via XML$/ do
   post api_providers_path, xml_provider
 end
 
-Then /^I should recieve Bad Request message$/ do
+Then /^I should receive Bad Request message$/ do
   response = last_response
   response.headers['Content-Type'].should include('application/xml')
   response.status.should be_eql(400)
-- 
1.7.7.6




More information about the aeolus-devel mailing list