diff options
Diffstat (limited to 'spec/unit/network/http/webrick.rb')
| -rw-r--r-- | spec/unit/network/http/webrick.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/network/http/webrick.rb b/spec/unit/network/http/webrick.rb index 1955c3e00..48b995c28 100644 --- a/spec/unit/network/http/webrick.rb +++ b/spec/unit/network/http/webrick.rb @@ -337,7 +337,7 @@ describe Puppet::Network::HTTP::WEBrick do it "should specify the path to the CA certificate" do Puppet.settings.stubs(:value).returns "whatever" - Puppet.settings.stubs(:value).with(:cacrl).returns 'false' + Puppet.settings.stubs(:value).with(:hostcrl).returns 'false' Puppet.settings.stubs(:value).with(:localcacert).returns '/ca/crt' @server.setup_ssl[:SSLCACertificateFile].should == "/ca/crt" @@ -357,7 +357,7 @@ describe Puppet::Network::HTTP::WEBrick do it "should add an x509 store if the CRL is enabled" do Puppet.settings.stubs(:value).returns "whatever" - Puppet.settings.stubs(:value).with(:cacrl).returns '/my/crl' + Puppet.settings.stubs(:value).with(:hostcrl).returns '/my/crl' @server.expects(:setup_ssl_store).returns("mystore") @@ -366,7 +366,7 @@ describe Puppet::Network::HTTP::WEBrick do it "should not add an x509 store if the CRL is disabled" do Puppet.settings.stubs(:value).returns "whatever" - Puppet.settings.stubs(:value).with(:cacrl).returns 'false' + Puppet.settings.stubs(:value).with(:hostcrl).returns 'false' @server.expects(:setup_ssl_store).never |
