This commit is contained in:
John Bintz 2011-08-04 20:57:52 -04:00
parent e365c08940
commit b11f54e1d9
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ module Hydra #:nodoc:
config = [ file ] config = [ file ]
RSpec.reset RSpec.reset
begin begin
result = RSpec::Core::Runner.run(config, $stdout, @hydra_output) result = RSpec::Core::Runner.run(config, @hydra_output, @hydra_output)
rescue Exception => ex rescue Exception => ex
return ex.to_s + "\n" + ex.backtrace.join("\n") return ex.to_s + "\n" + ex.backtrace.join("\n")
end end