Unflatten features directory tree

This commit is contained in:
Thibault Jouan
2014-11-18 11:58:23 +00:00
parent 86a84bbe12
commit 2d3975d47f
36 changed files with 1 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
Feature: CLI dry run option
Background:
Given a recipe with:
"""
task :say_hello do
echo 'hello'
end
"""
Scenario: perfoms a trial run without applying actions
When I successfully execute the recipe with option -n
Then the output must not contain "hello"
Scenario: prints a warning before any output
When I successfully execute the recipe with option -n
Then the output must match /\AWarning: running in dry run mode, actions will NOT be applied/