2013-08-14 23:43:36 +00:00

13 lines
269 B
Gherkin

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"