producer-core/features/recipe_source.feature
2014-05-30 19:16:51 +00:00

18 lines
386 B
Gherkin

Feature: `source' recipe keyword
Background:
Given a recipe with:
"""
source 'sourced_recipe'
"""
Scenario: requires a recipe file
Given a file named "sourced_recipe.rb" with:
"""
task :some_task do
echo 'sourced recipe'
end
"""
When I successfully execute the recipe
Then the output must contain "sourced recipe"