summaryrefslogtreecommitdiff
path: root/spec/unit/network/authentication_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/network/authentication_spec.rb')
-rwxr-xr-xspec/unit/network/authentication_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/network/authentication_spec.rb b/spec/unit/network/authentication_spec.rb
index 8f3653cad..5e2f2de87 100755
--- a/spec/unit/network/authentication_spec.rb
+++ b/spec/unit/network/authentication_spec.rb
@@ -81,6 +81,10 @@ describe Puppet::Network::Authentication do
cert.stubs(:unmunged_name).returns('foo')
end
+ after(:all) do
+ reload_module
+ end
+
it "should log a warning if a certificate's expiration is near" do
logger.expects(:warning)
subject.warn_if_near_expiration(cert)