producer-core/features/steps/recipe_steps.rb
Thibault Jouan 0aa043b61a Remove host argument:
Currently the idea is to later implement a -h (or -t) option to the
command, and/or a `target' recipe keyword. Another option might be to
use the target/host key when the key/value registry will be implemented
and made available to the recipe and task DSLs.
2013-08-01 00:01:20 +00:00

8 lines
166 B
Ruby

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)
end