Flatten features directory tree
This commit is contained in:
13
features/task_condition.feature
Normal file
13
features/task_condition.feature
Normal file
@@ -0,0 +1,13 @@
|
||||
Feature: `condition' task keyword
|
||||
|
||||
Scenario: prevents task actions application when condition is not met
|
||||
Given a recipe with:
|
||||
"""
|
||||
task :hello do
|
||||
condition { false }
|
||||
|
||||
echo 'evaluated'
|
||||
end
|
||||
"""
|
||||
When I successfully execute the recipe
|
||||
Then the output must not contain "evaluated"
|
Reference in New Issue
Block a user