features/output.feature in aruba-0.3.0 vs features/output.feature in aruba-0.3.1

- old
+ new

@@ -37,11 +37,15 @@ good-bye """ Scenario: Detect exact one-line output When I run "ruby -e 'puts \"hello world\"'" - Then the output should contain exactly "hello world\n" + Then the output should contain exactly: + """ + hello world + + """ Scenario: Detect exact multiline output When I run "ruby -e 'puts "hello\nworld"'" Then the output should contain exactly: """ @@ -148,18 +152,34 @@ Scenario: Detect stdout from all processes When I run "ruby -e 'puts \"hello world!\"'" And I run "ruby -e 'puts gets.chomp.reverse'" interactively And I type "hello" - Then the stdout should contain "hello world!\nolleh" - And the stderr should not contain "hello world!\nolleh" + Then the stdout should contain: + """ + hello world! + olleh + """ + And the stderr should not contain: + """ + hello world! + olleh + """ Scenario: Detect stderr from all processes When I run "ruby -e 'STDERR.puts \"hello world!\"'" And I run "ruby -e 'STDERR.puts gets.chomp.reverse'" interactively And I type "hello" - Then the stderr should contain "hello world!\nolleh" - And the stdout should not contain "hello world!\nolleh" + Then the stderr should contain: + """ + hello world! + olleh + """ + And the stdout should not contain: + """ + hello world! + olleh + """ Scenario: Detect output from named source When I run "ruby -e 'puts :simple'" And I run "ruby -e 'puts gets.chomp'" interactively And I type "interactive"