Implement `echo' task action
This commit is contained in:
12
features/actions/echo.feature
Normal file
12
features/actions/echo.feature
Normal 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"
|
Reference in New Issue
Block a user