diff --git a/lib/hydra/runner.rb b/lib/hydra/runner.rb index 1372a12..c3c8b4f 100644 --- a/lib/hydra/runner.rb +++ b/lib/hydra/runner.rb @@ -160,7 +160,7 @@ module Hydra #:nodoc: config = [ file ] RSpec.reset begin - result = RSpec::Core::Runner.run(config, $stdout, @hydra_output) + result = RSpec::Core::Runner.run(config, @hydra_output, @hydra_output) rescue Exception => ex return ex.to_s + "\n" + ex.backtrace.join("\n") end