Sha256: 5afc2167f07d0ea7c1235d9b358440855c713858b8425caa85594ed391381616

Contents?: true

Size: 535 Bytes

Versions: 92

Compression:

Stored size: 535 Bytes

Contents

#! /usr/bin/env ruby
require 'spec_helper'

require 'puppet/indirector/certificate_revocation_list/file'

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

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

Version data entries

92 entries across 92 versions & 2 rubygems

Version Path
puppet-3.8.7 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.7-x86-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.7-x64-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.6 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.6-x86-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.6-x64-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.5 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.5-x86-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.5-x64-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.4 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.4-x86-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.4-x64-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.3 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.3-x86-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.3-x64-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.2 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.2-x86-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.2-x64-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.1 spec/unit/indirector/certificate_revocation_list/file_spec.rb
puppet-3.8.1-x86-mingw32 spec/unit/indirector/certificate_revocation_list/file_spec.rb