producer-core/features/cli_target.feature
2014-07-18 12:23:17 +00:00

16 lines
361 B
Gherkin

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