spec/spec_helper.rb in facter-1.5.9 vs spec/spec_helper.rb in facter-1.6.0

- old
+ new

@@ -16,8 +16,9 @@ RSpec.configure do |config| config.mock_with :mocha # Ensure that we don't accidentally cache between test cases. config.before :each do + Facter::Util::Loader.any_instance.stubs(:load_all) Facter.clear end end