Sha256: 8a818df0b760662df37313cc4dcf02b7cf8e7e1323f2dd1ca3bddc3f2d4de1d5

Contents?: true

Size: 535 Bytes

Versions: 36

Compression:

Stored size: 535 Bytes

Contents

require 'spec_helper'

require 'puppet/indirector/certificate_revocation_list/file'

describe Puppet::SSL::CertificateRevocationList::File do
  it "should have documentation" do
    expect(Puppet::SSL::CertificateRevocationList::File.doc).to be_instance_of(String)
  end

  it "should always store the file to :hostcrl location" do
    crl = File.expand_path("/host/crl")
    Puppet[:hostcrl] = crl
    allow(Puppet.settings).to receive(:use)
    expect(Puppet::SSL::CertificateRevocationList::File.file_location).to eq(crl)
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
puppet-5.5.22 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.22-x86-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.22-x64-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.22-universal-darwin spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.21 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.21-x86-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.21-x64-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.21-universal-darwin spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.20 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.20-x86-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.20-x64-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.20-universal-darwin spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.19 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.19-x86-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.19-x64-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.19-universal-darwin spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.18 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.18-x86-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.18-x64-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-5.5.18-universal-darwin spec/unit/indirector/certificate_revocation_list/file_spec.rb