summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorDavid Schmitt <david.schmitt@puppetlabs.com>2015-05-05 10:53:04 +0100
committerDavid Schmitt <david.schmitt@puppetlabs.com>2015-05-05 13:30:57 +0100
commit6a0a6153d59715d07f6bc50135df4adbae3d1334 (patch)
tree7f541c1d5c4c81d86ab5e58fa6b13762d5969f83 /spec/spec_helper.rb
parent24680aceec28df9e6dbe8c07a1136bfb78cad2fa (diff)
spec_helper: Remove unneccesary stubbing
This only roots all Facter instances into memory, while something already creates a new Facter instance each run.
Diffstat (limited to 'spec/spec_helper.rb')
-rwxr-xr-xspec/spec_helper.rb1
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