Sha256: db67ce85a7a3ba1200fbd72cc892d8edfd3d43f5f894e6824ac58047d535711b

Contents?: true

Size: 627 Bytes

Versions: 19

Compression:

Stored size: 627 Bytes

Contents

#!/usr/bin/env ruby
#
#  Created by Luke Kanies on 2008-3-7.
#  Copyright (c) 2007. All rights reserved.

require File.dirname(__FILE__) + '/../../../spec_helper'

require 'puppet/indirector/certificate_request/file'

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

  it "should use the :requestdir as the collection directory" do
    Puppet.settings.expects(:value).with(:requestdir).returns "/request/dir"
    Puppet::SSL::CertificateRequest::File.collection_directory.should == "/request/dir"
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
puppet-2.6.18 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.17 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.16 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.15 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.14 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.13 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.12 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.11 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.10 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.9 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.8 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.7 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.6 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.5 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.4 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.3 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.2 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.1 spec/unit/indirector/certificate_request/file_spec.rb
puppet-2.6.0 spec/unit/indirector/certificate_request/file_spec.rb