mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
get rid of cucumber step deprecation warnings
This commit is contained in:
parent
8051bfbc7a
commit
cb1e9edf31
1 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue