Enable debug mode when PRODUCER_DEBUG is set

This commit is contained in:
Thibault Jouan
2015-04-06 13:49:44 +00:00
parent bd754f2bf6
commit 2b0e62be26
3 changed files with 16 additions and 0 deletions

View File

@@ -11,3 +11,9 @@ Feature: CLI debug option
Then the output must contain "producer"
And the output must contain "net-ssh"
And the output must contain ruby lib directory
Scenario: enables debug mode from the environment
Given a recipe with an error
And I set the environment variable "PRODUCER_DEBUG"
When I execute the recipe
Then the output must contain "producer"