clear enough of rspec to work
This commit is contained in:
parent
1f5f494edc
commit
890858e40b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue