diff options
author | David Schmitt <david.schmitt@puppetlabs.com> | 2015-05-05 10:53:04 +0100 |
---|---|---|
committer | David Schmitt <david.schmitt@puppetlabs.com> | 2015-05-05 13:30:57 +0100 |
commit | 6a0a6153d59715d07f6bc50135df4adbae3d1334 (patch) | |
tree | 7f541c1d5c4c81d86ab5e58fa6b13762d5969f83 | |
parent | 24680aceec28df9e6dbe8c07a1136bfb78cad2fa (diff) |
spec_helper: Remove unneccesary stubbing
This only roots all Facter instances into memory, while something already
creates a new Facter instance each run.
-rwxr-xr-x | spec/spec_helper.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index d3c9847..896cb83 100755 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -25,7 +25,6 @@ RSpec.configure do |config| # test cases. This requires each example group to explicitly load the # facts being exercised with something like # Facter.collection.loader.load(:ipaddress) - Facter::Util::Loader.any_instance.stubs(:load_all) Facter.clear Facter.clear_messages |