Sha256: 2e08414ed3eb6484095ff3df26756332b3ca37d5c10ca696de615439799c7db3

Contents?: true

Size: 648 Bytes

Versions: 7

Compression:

Stored size: 648 Bytes

Contents

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

require 'puppet/indirector/certificate_request/rest'

describe Puppet::SSL::CertificateRequest::Rest do
  before do
    @searcher = Puppet::SSL::CertificateRequest::Rest.new
  end

  it "should be a sublcass of Puppet::Indirector::REST" do
    Puppet::SSL::CertificateRequest::Rest.superclass.should equal(Puppet::Indirector::REST)
  end

  it "should set server_setting to :ca_server" do
    Puppet::SSL::CertificateRequest::Rest.server_setting.should == :ca_server
  end

  it "should set port_setting to :ca_port" do
    Puppet::SSL::CertificateRequest::Rest.port_setting.should == :ca_port
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
puppet-3.0.2 spec/unit/indirector/certificate_request/rest_spec.rb
puppet-3.0.2.rc3 spec/unit/indirector/certificate_request/rest_spec.rb
puppet-3.0.2.rc2 spec/unit/indirector/certificate_request/rest_spec.rb
puppet-3.0.2.rc1 spec/unit/indirector/certificate_request/rest_spec.rb
puppet-3.0.1 spec/unit/indirector/certificate_request/rest_spec.rb
puppet-3.0.1.rc1 spec/unit/indirector/certificate_request/rest_spec.rb
puppet-3.0.0 spec/unit/indirector/certificate_request/rest_spec.rb