Sha256: 3322680b7f76bd9a095cc2e8fd403717b4948c75d2b8f381d06c47282158428a

Contents?: true

Size: 558 Bytes

Versions: 11

Compression:

Stored size: 558 Bytes

Contents

require 'spec_helper'
describe 'apache::mod::dev', :type => :class do
  [
    ['RedHat',  '6'],
    ['Debian',  '6'],
    ['FreeBSD', '9'],
  ].each do |osfamily, operatingsystemrelease|
    if osfamily == 'FreeBSD'
      let :pre_condition do
        'include apache::package'
      end
    end
    context "on a #{osfamily} OS" do
      let :facts do
        {
          :osfamily               => osfamily,
          :operatingsystemrelease => operatingsystemrelease,
        }
      end
      it { should contain_class('apache::dev') }
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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