inspec/test/integration/default/apache_conf_spec.rb

16 lines
314 B
Ruby
Raw Normal View History

# encoding: utf-8
if os.linux?
# direct access to params of apache conf
describe apache_conf do
its('LogLevel') { should eq 'warn' }
its('MaxKeepAliveRequests') { should eq '100' }
end
# only read one param
describe apache_conf.params('LogLevel') do
it { should include 'warn' }
end
end