Sha256: 3287b116655d25879b39d796b5537a2790bdf592b44e351051afb791db286f21

Contents?: true

Size: 758 Bytes

Versions: 6

Compression:

Stored size: 758 Bytes

Contents

#!/usr/bin/env ruby

require File.dirname(__FILE__) + '/../../../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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
puppet-0.25.5 spec/unit/indirector/certificate_revocation_list/rest.rb
puppet-0.25.4 spec/unit/indirector/certificate_revocation_list/rest.rb
puppet-0.25.3 spec/unit/indirector/certificate_revocation_list/rest.rb
puppet-0.25.2 spec/unit/indirector/certificate_revocation_list/rest.rb
puppet-0.25.1 spec/unit/indirector/certificate_revocation_list/rest.rb
puppet-0.25.0 spec/unit/indirector/certificate_revocation_list/rest.rb