Implement `composed_macro' recipe keyword

This commit is contained in:
Thibault Jouan
2014-10-02 03:20:12 +00:00
parent 295fac40e1
commit 9bc5c2aeec
4 changed files with 45 additions and 4 deletions

View File

@@ -2,6 +2,10 @@ Given /^a recipe with:$/ do |recipe_body|
write_file 'recipe.rb', recipe_body
end
Given /^a recipe named "([^"]+)" with:$/ do |recipe_path, recipe_body|
write_file recipe_path, recipe_body
end
When /^I execute the recipe$/ do
run_simple 'producer recipe.rb', false
end