blob: 4afd581bf3e24238027d1ca465b8a661c1bef339 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
require 'puppet/ssl/host'
describe Puppet::String[:certificate, '0.0.1'] do
it "should have a ca-location option" do
subject.should be_option :ca_location
end
it "should set the ca location when invoked" do
pending "The string itself is broken in this release."
Puppet::SSL::Host.expects(:ca_location=).with(:foo)
Puppet::SSL::Host.indirection.expects(:search)
subject.list :ca_location => :foo
end
end
|