Sha256: 125b1faf9a824995db950a02617a70486cd1ec98635a97f4ad3cec5a7acd8635

Contents?: true

Size: 518 Bytes

Versions: 234

Compression:

Stored size: 518 Bytes

Contents

#! /usr/bin/env ruby
require 'spec_helper'
require 'puppet/ssl/host'
require 'puppet/indirector/certificate_status'

describe "Puppet::CertificateStatus::Rest" do
  before do
    @terminus = Puppet::SSL::Host.indirection.terminus(:rest)
  end

  it "should be a terminus on Puppet::SSL::Host" do
    expect(@terminus).to be_instance_of(Puppet::Indirector::CertificateStatus::Rest)
  end

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

Version data entries

234 entries across 234 versions & 1 rubygems

Version Path
puppet-5.5.12 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.12-x86-mingw32 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.12-x64-mingw32 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.12-universal-darwin spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.10 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.10-x86-mingw32 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.10-x64-mingw32 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.10-universal-darwin spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.8 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.8-x86-mingw32 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.8-x64-mingw32 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.8-universal-darwin spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.7 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.7-x86-mingw32 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.7-x64-mingw32 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.7-universal-darwin spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.6 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.6-x86-mingw32 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.6-x64-mingw32 spec/unit/indirector/certificate_status/rest_spec.rb
puppet-5.5.6-universal-darwin spec/unit/indirector/certificate_status/rest_spec.rb