features/output.feature in aruba-0.1.0 vs features/output.feature in aruba-0.1.1
- old
+ new
@@ -6,14 +6,25 @@
Scenario: Detect subset of one-line output
When I run "ruby -e 'puts \"hello world\"'"
Then I should see "hello world"
+ Scenario: Detect absence of one-line output
+ When I run "ruby -e 'puts \"hello world\"'"
+ Then I should not see "good-bye"
+
Scenario: Detect subset of multiline output
When I run "ruby -e 'puts \"hello\nworld\"'"
Then I should see:
"""
hello
+ """
+
+ Scenario: Detect subset of multiline output
+ When I run "ruby -e 'puts \"hello\nworld\"'"
+ Then I should not see:
+ """
+ good-bye
"""
Scenario: Detect exact one-line output
When I run "ruby -e 'puts \"hello world\"'"
Then I should see exactly "hello world\n"