Sha256: 11a31fb2a85bd202d34b80d674947e5cd67769e98068e38541af80d598d7a7b5
Contents?: true
Size: 532 Bytes
Versions: 36
Compression:
Stored size: 532 Bytes
Contents
require 'spec_helper' require 'puppet/indirector/certificate_revocation_list/ca' describe Puppet::SSL::CertificateRevocationList::Ca do it "should have documentation" do expect(Puppet::SSL::CertificateRevocationList::Ca.doc).to be_instance_of(String) end it "should use the :cacrl setting as the crl location" do allow(Puppet.settings).to receive(:use) Puppet[:cacrl] = File.expand_path("/request/dir") expect(Puppet::SSL::CertificateRevocationList::Ca.new.path("whatever")).to eq(Puppet[:cacrl]) end end
Version data entries
36 entries across 36 versions & 1 rubygems