lib/gorgon/rspec_runner.rb in gorgon-0.9.0 vs lib/gorgon/rspec_runner.rb in gorgon-0.10.0
- old
+ new
@@ -30,9 +30,10 @@
private
def keep_config_modules
orig_configuration = ::RSpec.configuration.clone
yield
+ RSpec.reset
::RSpec.instance_variable_set(:@configuration, orig_configuration)
end
end
end