Implement task evaluation feature

This commit is contained in:
Thibault Jouan
2013-07-27 23:53:12 +00:00
parent c7295fb977
commit baaa957e9e
6 changed files with 77 additions and 0 deletions

12
features/task.feature Normal file
View File

@@ -0,0 +1,12 @@
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"