Remove cucumber monkey patch translating steps:

It was initially added to allow reuse of aruba cucumber steps, using
`must' instead of `should'. This is creating more harm than good, hence
we remove it and implements all missing steps, using aruba API.
This commit is contained in:
Thibault Jouan
2014-04-23 22:34:29 +00:00
parent 974e0aca73
commit 9323391161
7 changed files with 41 additions and 33 deletions

View File

@@ -1,16 +1,16 @@
Given(/^a recipe with:$/) do |recipe_body|
Given /^a recipe with:$/ do |recipe_body|
write_file 'recipe.rb', recipe_body
end
When(/^I execute the recipe$/) do
run_simple('producer recipe.rb', false)
When /^I execute the recipe$/ do
run_simple 'producer recipe.rb', false
end
When(/^I successfully execute the recipe$/) do
When /^I successfully execute the recipe$/ do
step 'I execute the recipe'
assert_exit_status(0)
assert_exit_status 0
end
When(/^I execute the recipe interactively$/) do
run_interactive('producer recipe.rb')
When /^I execute the recipe interactively$/ do
run_interactive 'producer recipe.rb'
end