summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rwxr-xr-xspec/unit/configurer/plugin_handler_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/configurer/plugin_handler_spec.rb b/spec/unit/configurer/plugin_handler_spec.rb
index 1423ae4b5..30b135e8f 100755
--- a/spec/unit/configurer/plugin_handler_spec.rb
+++ b/spec/unit/configurer/plugin_handler_spec.rb
@@ -11,6 +11,10 @@ end
describe Puppet::Configurer::PluginHandler do
before do
@pluginhandler = PluginHandlerTester.new
+
+ # PluginHandler#load_plugin has an extra-strong rescue clause
+ # this mock is to make sure that we don't silently ignore errors
+ Puppet.expects(:err).never
end
it "should have a method for downloading plugins" do