18 lines
297 B
Ruby
18 lines
297 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'apache::mod::wsgi', :type => :class do
|
|
|
|
it { should include_class("apache") }
|
|
|
|
it { should contain_package("mod_wsgi_package").with(
|
|
'require' => 'Package[httpd]'
|
|
)
|
|
}
|
|
|
|
it { should contain_a2mod("wsgi").with(
|
|
'ensure' => 'present'
|
|
)
|
|
}
|
|
|
|
end
|