producer-core/features/task.feature
2013-07-28 19:18:53 +00:00

13 lines
297 B
Gherkin

Feature: tasks
Scenario: evaluates ruby code grouped 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 "hello from recipe"