Unflatten features directory tree
This commit is contained in:
1 parent
86a84bbe12
commit
2d3975d47f
36 files changed
+1
No files matched your search
@@ -0,0 +1,15 @@
|
||||
Feature: `target' condition keyword
|
||||
|
||||
Scenario: returns the current target
|
||||
Given a recipe with:
|
||||
"""
|
||||
target 'some_host.example'
|
||||
|
||||
task :test_target do
|
||||
condition { target == 'some_host.example' }
|
||||
|
||||
echo 'OK'
|
||||
end
|
||||
"""
|
||||
When I execute the recipe
|
||||
Then the output must contain "OK"
|
||||
Reference in new issue
Block a user