Sha256: 515b45236080d59c1378732d28622fedee52785da18bf319e1e148ec454d6067
Contents?: true
Size: 541 Bytes
Versions: 4
Compression:
Stored size: 541 Bytes
Contents
#! /usr/bin/env ruby -S rspec require 'spec_helper' require 'puppet/indirector/certificate_revocation_list/ca' describe Puppet::SSL::CertificateRevocationList::Ca do it "should have documentation" do Puppet::SSL::CertificateRevocationList::Ca.doc.should 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") Puppet::SSL::CertificateRevocationList::Ca.new.path("whatever").should == Puppet[:cacrl] end end
Version data entries
4 entries across 4 versions & 1 rubygems