producer-core/features/cli_target.feature
2014-06-27 17:32:42 +00:00

16 lines
352 B
Gherkin

Feature: CLI target option
Background:
Given a recipe with:
"""
target 'some_host.example'
task :some_task do
echo env.target
end
"""
Scenario: prints tasks name
When I successfully execute the recipe with option -t other_host.example
Then the output must contain exactly "other_host.example\n"