[features] check that quiet mode really outputs nothing.

Previously it was checking the output contained a null string within it.
This commit is contained in:
Joe Thornber
2014-08-28 14:00:08 +01:00
parent 0608df97d8
commit 5a6b92312e
6 changed files with 15 additions and 9 deletions

View File

@@ -86,14 +86,16 @@ Feature: cache_restore
Scenario: --quiet is accepted
Given valid cache metadata
When I run cache_restore with -i metadata.xml -o metadata.bin --quiet
Then it should pass with:
Then it should pass
And the output should contain exactly:
"""
"""
Scenario: -q is accepted
Given valid cache metadata
When I run cache_restore with -i metadata.xml -o metadata.bin -q
Then it should pass with:
Then it should pass
And the output should contain exactly:
"""
"""