Sha256: b34132adfbf0007849f19dcc8d00cad7443a24cc2bfea93e233243442b4ce42b
Contents?: true
Size: 541 Bytes
Versions: 234
Compression:
Stored size: 541 Bytes
Contents
#! /usr/bin/env ruby 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 Puppet.settings.stubs(: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
234 entries across 234 versions & 1 rubygems