Improve features directory tree

This commit is contained in:
Thibault Jouan committed 2013-08-06 18:48:52 +00:00
1 parent 580ad66bab
commit 8069e1ceaf
6 files changed

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
Feature: condition
Scenario: prevents task evaluation when condition is not met
Given a recipe with:
"""
task :hello do
condition { false }
puts 'evaluated'
exit 70
end
"""
When I execute the recipe
Then the exit status must be 0
And the output must not contain "evaluated"