Implement target recipe keyword feature
This commit is contained in:
1 parent
a6e27edfd2
commit
a3bba6d4da
4 files changed
+39
-1
No files matched your search
@@ -0,0 +1,12 @@
|
||||
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"
|
||||
Reference in new issue
Block a user