diff options
-rwxr-xr-x | spec/unit/ssl/host.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/unit/ssl/host.rb b/spec/unit/ssl/host.rb index 6d7249088..f6f06a993 100755 --- a/spec/unit/ssl/host.rb +++ b/spec/unit/ssl/host.rb @@ -566,7 +566,9 @@ describe Puppet::SSL::Host do @store.stub_everything OpenSSL::X509::Store.stubs(:new).returns @store - Puppet.settings.stubs(:value).returns "ssl_host_testing" + Puppet.settings.stubs(:value).with(:localcacert).returns "ssl_host_testing" + + Puppet::SSL::CertificateRevocationList.stubs(:find).returns(nil) end it "should accept a purpose" do |