12 lines
288 B
Gherkin
12 lines
288 B
Gherkin
Feature: task evaluation
|
|
|
|
Scenario: evaluates ruby code in task blocks
|
|
Given a recipe with:
|
|
"""
|
|
task :hello do
|
|
puts 'hello from recipe'
|
|
end
|
|
"""
|
|
When I successfully execute the recipe
|
|
Then the output must contain exactly "hello from recipe\n"
|