spec/unit/mcollective/security/psk_spec.rb in mcollective-client-2.10.1 vs spec/unit/mcollective/security/psk_spec.rb in mcollective-client-2.10.2
- old
+ new
@@ -1,9 +1,14 @@
#!/usr/bin/env rspec
require 'spec_helper'
require 'mcollective/security/psk'
+module MCollective
+ # Clear the PluginManager so that security plugin tests do not conflict
+ PluginManager.clear
+end
+
module MCollective::Security
describe Psk do
before do
@config = mock("config")
@config.stubs(:identity).returns("test")