Sha256: 460666b5357ff19fdebf18ff12909cfc875de38c5d5be5b11d69eb0d9883ce50

Contents?: true

Size: 630 Bytes

Versions: 11

Compression:

Stored size: 630 Bytes

Contents

require 'spec_helper'

describe 'apache::params', :type => :class do
  context "On a Debian OS" do
    let :facts do
      {
        :osfamily               => 'Debian',
        :operatingsystemrelease => '6',
        :concat_basedir         => '/dne',
      }
    end
    it { should contain_apache__params }

    # There are 4 resources in this class currently
    # there should not be any more resources because it is a params class
    # The resources are class[apache::params], class[main], class[settings], stage[main]
    it "Should not contain any resources" do
      subject.resources.size.should == 4
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/apache/spec/classes/params_spec.rb
freighthop-0.6.0 modules/apache/spec/classes/params_spec.rb
freighthop-0.5.2 modules/apache/spec/classes/params_spec.rb
freighthop-0.5.1 modules/apache/spec/classes/params_spec.rb
freighthop-0.5.0 modules/apache/spec/classes/params_spec.rb
freighthop-0.4.1 modules/apache/spec/classes/params_spec.rb
freighthop-0.4.0 modules/apache/spec/classes/params_spec.rb
freighthop-0.3.3 modules/apache/spec/classes/params_spec.rb
freighthop-0.3.2 modules/apache/spec/classes/params_spec.rb
freighthop-0.3.1 modules/apache/spec/classes/params_spec.rb
freighthop-0.3.0 modules/apache/spec/classes/params_spec.rb