Improve verbose mode output formatting

This commit is contained in:
Thibault Jouan
2014-05-24 20:07:57 +00:00
parent 8291f1bcfd
commit 332bb1a416
6 changed files with 50 additions and 3 deletions

View File

@@ -31,3 +31,12 @@ Feature: CLI verbose option
"""
When I successfully execute the recipe with option -v
Then the output must match /say_hello.+ action: echo/
Scenario: formats message with our simple logger
Given a recipe with:
"""
task :say_hello do
end
"""
When I successfully execute the recipe with option -v
Then the output must match /\ATask:.+say_hello.*\n.*condition/