From cb1e9edf31be3a81ed4ac8222db970a7f5e17686 Mon Sep 17 00:00:00 2001 From: Ben Mabey Date: Sun, 5 Aug 2012 20:30:40 -0600 Subject: [PATCH] get rid of cucumber step deprecation warnings --- .../step_definitions/translation_steps.rb | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/examples/features/step_definitions/translation_steps.rb b/examples/features/step_definitions/translation_steps.rb index 7055cfe..325a649 100644 --- a/examples/features/step_definitions/translation_steps.rb +++ b/examples/features/step_definitions/translation_steps.rb @@ -1,55 +1,55 @@ When /^I create a widget$/ do - When "I create a widget using #{ENV['ORM'].downcase}" + step "I create a widget using #{ENV['ORM'].downcase}" end Then /^I should see 1 widget$/ do - Then "I should see 1 widget using #{ENV['ORM'].downcase}" + step "I should see 1 widget using #{ENV['ORM'].downcase}" end When /^I create a widget in one orm$/ do - When "I create a widget using #{ENV['ORM'].downcase}" + step "I create a widget using #{ENV['ORM'].downcase}" end When /^I create a widget in another orm$/ do - When "I create a widget using #{ENV['ANOTHER_ORM'].downcase}" + step "I create a widget using #{ENV['ANOTHER_ORM'].downcase}" end Then /^I should see 1 widget in one orm$/ do - When "I should see 1 widget using #{ENV['ORM'].downcase}" + step "I should see 1 widget using #{ENV['ORM'].downcase}" end Then /^I should see 1 widget in another orm$/ do - When "I should see 1 widget using #{ENV['ANOTHER_ORM'].downcase}" + step "I should see 1 widget using #{ENV['ANOTHER_ORM'].downcase}" end Then /^I should see 0 widget in another orm$/ do - When "I should see 0 widget using #{ENV['ANOTHER_ORM'].downcase}" + step "I should see 0 widget using #{ENV['ANOTHER_ORM'].downcase}" end Then /^I should see 0 widget in one orm$/ do - When "I should see 0 widget using #{ENV['ORM'].downcase}" + step "I should see 0 widget using #{ENV['ORM'].downcase}" end When /^I create a widget in one db$/ do - When "I create a widget in one db using #{ENV['ORM'].downcase}" + step "I create a widget in one db using #{ENV['ORM'].downcase}" end When /^I create a widget in another db$/ do - When "I create a widget in another db using #{ENV['ORM'].downcase}" + step "I create a widget in another db using #{ENV['ORM'].downcase}" end Then /^I should see 1 widget in one db$/ do - When "I should see 1 widget in one db using #{ENV['ORM'].downcase}" + step "I should see 1 widget in one db using #{ENV['ORM'].downcase}" end Then /^I should see 1 widget in another db$/ do - When "I should see 1 widget in another db using #{ENV['ORM'].downcase}" + step "I should see 1 widget in another db using #{ENV['ORM'].downcase}" end Then /^I should see 0 widget in another db$/ do - When "I should see 0 widget in another db using #{ENV['ORM'].downcase}" + step "I should see 0 widget in another db using #{ENV['ORM'].downcase}" end Then /^I should see 0 widget in one db$/ do - When "I should see 0 widget in one db using #{ENV['ORM'].downcase}" + step "I should see 0 widget in one db using #{ENV['ORM'].downcase}" end