summaryrefslogtreecommitdiffstats
path: root/spec/integration/defaults.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/defaults.rb')
-rwxr-xr-xspec/integration/defaults.rb13
1 files changed, 10 insertions, 3 deletions
diff --git a/spec/integration/defaults.rb b/spec/integration/defaults.rb
index b14a141fb..b6f6bf109 100755
--- a/spec/integration/defaults.rb
+++ b/spec/integration/defaults.rb
@@ -5,13 +5,20 @@ require File.dirname(__FILE__) + '/../spec_helper'
require 'puppet/defaults'
describe "Puppet defaults" do
- describe "when setting the :factpath" do
- after { Puppet.settings.clear }
-
+ after { Puppet.settings.clear }
+ describe "when configuring the :crl" do
it "should add the :factpath to Facter's search paths" do
Facter.expects(:search).with("/my/fact/path")
Puppet.settings[:factpath] = "/my/fact/path"
end
end
+
+ describe "when setting the :factpath" do
+
+ it "should warn if :cacrl is set to false" do
+ Puppet.expects(:warning)
+ Puppet.settings[:cacrl] = 'false'
+ end
+ end
end