Implement `echo' task action

This commit is contained in:
Thibault Jouan
2013-08-14 23:41:38 +00:00
parent f0e144cebd
commit a675c9c910
6 changed files with 48 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
Feature: `echo' task action
Scenario: ouputs text
Given a recipe with:
"""
task :some_task do
echo 'hello'
end
"""
When I execute the recipe
Then the exit status must be 0
And the output must contain exactly "hello\n"