Sha256: 7b1f06fddea3763491dfcc8d885fb99c8af0908dfa7c75747c2a55f74c3565e0

Contents?: true

Size: 462 Bytes

Versions: 44

Compression:

Stored size: 462 Bytes

Contents

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

require 'puppet/indirector/certificate/file'

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

  it "should use the :certdir as the collection directory" do
    Puppet[:certdir] = File.expand_path("/cert/dir")
    expect(Puppet::SSL::Certificate::File.collection_directory).to eq(Puppet[:certdir])
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
puppet-6.4.0 spec/unit/indirector/certificate/file_spec.rb
puppet-6.4.0-x86-mingw32 spec/unit/indirector/certificate/file_spec.rb
puppet-6.4.0-x64-mingw32 spec/unit/indirector/certificate/file_spec.rb
puppet-6.4.0-universal-darwin spec/unit/indirector/certificate/file_spec.rb
puppet-6.0.7 spec/unit/indirector/certificate/file_spec.rb
puppet-6.0.7-x86-mingw32 spec/unit/indirector/certificate/file_spec.rb
puppet-6.0.7-x64-mingw32 spec/unit/indirector/certificate/file_spec.rb
puppet-6.0.7-universal-darwin spec/unit/indirector/certificate/file_spec.rb
puppet-6.3.0 spec/unit/indirector/certificate/file_spec.rb
puppet-6.3.0-x86-mingw32 spec/unit/indirector/certificate/file_spec.rb
puppet-6.3.0-x64-mingw32 spec/unit/indirector/certificate/file_spec.rb
puppet-6.3.0-universal-darwin spec/unit/indirector/certificate/file_spec.rb
puppet-6.2.0 spec/unit/indirector/certificate/file_spec.rb
puppet-6.2.0-x86-mingw32 spec/unit/indirector/certificate/file_spec.rb
puppet-6.2.0-x64-mingw32 spec/unit/indirector/certificate/file_spec.rb
puppet-6.2.0-universal-darwin spec/unit/indirector/certificate/file_spec.rb
puppet-6.0.5 spec/unit/indirector/certificate/file_spec.rb
puppet-6.0.5-x86-mingw32 spec/unit/indirector/certificate/file_spec.rb
puppet-6.0.5-x64-mingw32 spec/unit/indirector/certificate/file_spec.rb
puppet-6.0.5-universal-darwin spec/unit/indirector/certificate/file_spec.rb