producer-core/features/cli/target.feature
2013-08-03 23:42:47 +00:00

13 lines
333 B
Gherkin

Feature: target recipe keyword
Scenario: registers the target host on which tasks should be evaluated
Given a recipe with:
"""
target 'some_host.example'
puts env.target
"""
When I execute the recipe
Then the exit status must be 0
And the output must contain exactly "some_host.example\n"