clear enough of rspec to work

This commit is contained in:
John Bintz 2011-08-04 17:00:03 -04:00
parent 1f5f494edc
commit 890858e40b
1 changed files with 1 additions and 2 deletions

View File

@ -157,8 +157,7 @@ module Hydra #:nodoc:
config = [ '-f', 'progress', file ] config = [ '-f', 'progress', file ]
RSpec.instance_variable_set(:@world, nil) RSpec.world.reset
RSpec.instance_variable_set(:@configuration, nil)
begin begin
result = RSpec::Core::Runner.run(config, hydra_output, hydra_output) result = RSpec::Core::Runner.run(config, hydra_output, hydra_output)
rescue Exception => ex rescue Exception => ex