Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/io stream #154

Merged
merged 14 commits into from
Jun 17, 2013
Prev Previous commit
Next Next commit
move code to api
  • Loading branch information
maxmeyer committed Jun 9, 2013
commit 844c6d4edc2b672aec9450184f9d67910edaaad4
9 changes: 1 addition & 8 deletions lib/aruba/cucumber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,9 @@
end

When /^I pipe in the file "([^"]*)"$/ do |file|
in_current_dir do
File.open(file, 'r').each_line do |line|
_write_interactive(line)
end
end

@interactive.stdin.close()
pipe_in_file(file)
end


When /^I wait for (?:output|stdout) to contain "([^"]*)"$/ do |expected|
Timeout::timeout(exit_timeout) do
loop do
Expand Down