Sha256: 4acd0eb870cf05846da54594d550d786349ba1e9b817ef21fc05428a43d0edc8

Contents?: true

Size: 833 Bytes

Versions: 166

Compression:

Stored size: 833 Bytes

Contents

#! /usr/bin/env ruby
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
    expect(Puppet::SSL::CertificateRevocationList::Rest.superclass).to equal(Puppet::Indirector::REST)
  end

  it "should set server_setting to :ca_server" do
    expect(Puppet::SSL::CertificateRevocationList::Rest.server_setting).to eq(:ca_server)
  end

  it "should set port_setting to :ca_port" do
    expect(Puppet::SSL::CertificateRevocationList::Rest.port_setting).to eq(:ca_port)
  end

  it "should use the :ca SRV service" do
    expect(Puppet::SSL::CertificateRevocationList::Rest.srv_service).to eq(:ca)
  end
end

Version data entries

166 entries across 166 versions & 1 rubygems

Version Path
puppet-4.10.12 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.12-x86-mingw32 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.12-x64-mingw32 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.12-universal-darwin spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.11 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.11-x86-mingw32 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.11-x64-mingw32 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.11-universal-darwin spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.10 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.10-x86-mingw32 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.10-x64-mingw32 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.10-universal-darwin spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.9 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.9-x86-mingw32 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.9-x64-mingw32 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.9-universal-darwin spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.8 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.8-x86-mingw32 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.8-x64-mingw32 spec/unit/indirector/certificate_revocation_list/rest_spec.rb
puppet-4.10.8-universal-darwin spec/unit/indirector/certificate_revocation_list/rest_spec.rb