Sha256: 3deba18483e6189f6646f847014c7f8d0249dbbc1d0b9225c00d88f203d3f011

Contents?: true

Size: 437 Bytes

Versions: 1

Compression:

Stored size: 437 Bytes

Contents

require File.expand_path('../support/helpers', __FILE__)

describe 'apache2::mod_perl' do
  include Helpers::Apache

  it 'enables perl_module' do
    apache_enabled_modules.must_include "perl_module"
  end

  it 'installs the apache request library' do
    req_pkg = case node['platform']
      when 'debian', 'ubuntu' then 'libapache2-request-perl'
      else 'perl-libapreq2'
    end
    package(req_pkg).must_be_installed
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-managed-servers-0.1.0 cookbooks/apache2/files/default/tests/minitest/mod_perl_test.rb