17 lines
370 B
Gherkin
17 lines
370 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:
|
|
"""
|
|
puts 'sourced recipe'
|
|
"""
|
|
When I execute the recipe
|
|
Then the exit status must be 0
|
|
And the output must contain "sourced recipe"
|