blob: 238ba75ff8d256898f4408c151a358bcab8311f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/usr/bin/env rspec
require 'spec_helper'
require 'puppet/indirector/certificate_revocation_list/rest'
describe Puppet::SSL::CertificateRevocationList::Rest do
before do
@searcher = Puppet::SSL::CertificateRevocationList::Rest.new
end
it "should be a sublcass of Puppet::Indirector::REST" do
Puppet::SSL::CertificateRevocationList::Rest.superclass.should equal(Puppet::Indirector::REST)
end
it "should set server_setting to :ca_server" do
Puppet::SSL::CertificateRevocationList::Rest.server_setting.should == :ca_server
end
it "should set port_setting to :ca_port" do
Puppet::SSL::CertificateRevocationList::Rest.port_setting.should == :ca_port
end
end
|