Improve `echo' action cucumber feature wording

This commit is contained in:
Thibault Jouan 2013-12-23 00:01:46 +00:00
parent 9b975836dc
commit e8b0900721

View File

@ -1,11 +1,11 @@
Feature: `echo' task action
Scenario: ouputs text
Scenario: prints text on standard output
Given a recipe with:
"""
task :some_task do
task :say_hello do
echo 'hello'
end
"""
When I successfully execute the recipe
Then the output must contain exactly "hello\n"
Then the output must match /\Ahello\n/