From bdfa441193f629dc457647e6641b8e4e374417cd Mon Sep 17 00:00:00 2001 From: Mike Sassak Date: Thu, 30 Sep 2010 23:32:50 -0500 Subject: [PATCH] WIP detecting output from named source --- features/output.feature | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/features/output.feature b/features/output.feature index 1a6c68c10..4550131e4 100644 --- a/features/output.feature +++ b/features/output.feature @@ -127,6 +127,14 @@ Feature: Output Then the stderr should contain "hello world!\nolleh" And the stdout should not contain "hello world!\nolleh" + @wip 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" + Then the output from "ruby -e 'puts :simple'" should contain "simple" + And the output from "ruby -e 'puts gets.chomp'" should not contain "simple" + + Scenario: Detect output from named source with custom name Scenario: Detect stderr from named source Scenario: Detect stdout from named source