Sha256: 2fa727e9794f79eb22609b1a2b693d05395ee10e10136f0f7c93360e3b64796b

Contents?: true

Size: 813 Bytes

Versions: 3

Compression:

Stored size: 813 Bytes

Contents

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

# Many of the apache2 cookbook recipes do nothing more than install the module
# of the same name. Assert that any included recipe that claims to install a
# module actually does so.
%w{
  alias apreq2 auth_basic auth_digest authn_file authnz_ldap authopenid
  authz_default authz_groupfile authz_host authz_user autoindex cgi dav_fs dav
  dav_svn deflate dir env expires fcgid headers ldap log_config mime
  negotiation perl php5 proxy_ajp proxy_balancer proxy_connect proxy_http
  proxy python rewrite setenvif ssl status wsgi xsendfile
}.each do |expected_module|
  describe "apache2::mod_#{expected_module}" do
    include Helpers::Apache
    it "installs mod_#{expected_module}" do
      apache_enabled_modules.must_include expected_module
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fast_food-0.1.2 chef/cookbooks/apache2/files/default/tests/minitest/modules_test.rb
fast_food-0.1.1 chef/cookbooks/apache2/files/default/tests/minitest/modules_test.rb
fast_food-0.1.0 chef/cookbooks/apache2/files/default/tests/minitest/modules_test.rb