Sha256: 4e71426a53b7cea1d003fd1f1482809fd390223b30a10958b0491220a1f718dc

Contents?: true

Size: 531 Bytes

Versions: 3

Compression:

Stored size: 531 Bytes

Contents

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

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

  it 'installs the mod_ssl package on RHEL distributions' do
    skip unless ["redhat", "centos", "scientific", "fedora", "amazon"].include? node.platform
    package("mod_ssl").must_be_installed
  end

  it 'does not store SSL config in conf.d' do
    file("#{node['apache']['dir']}/conf.d/ssl.conf").wont_exist
  end

  it "is configured to listen on port 443" do
    apache_configured_ports.must_include(443)
  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/mod_ssl_test.rb
fast_food-0.1.1 chef/cookbooks/apache2/files/default/tests/minitest/mod_ssl_test.rb
fast_food-0.1.0 chef/cookbooks/apache2/files/default/tests/minitest/mod_ssl_test.rb