producer-core/features/tasks/evaluation.feature
2013-08-13 00:42:14 +00:00

13 lines
309 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 execute the recipe
Then the exit status must be 0
And the output must contain exactly "hello from recipe\n"