summaryrefslogtreecommitdiffstats
path: root/spec/integration/defaults.rb
blob: 185aa0026e6d90d32ac83d1ab90fd0580124bb78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env ruby

require File.dirname(__FILE__) + '/../spec_helper'

require 'puppet/defaults'

describe "Puppet defaults" do
    describe "when configuring the :crl" do
        after { Puppet.settings.clear }

        it "should warn if :cacrl is set to false" do
            Puppet.expects(:warning)
            Puppet.settings[:cacrl] = 'false'
        end
    end
end