inspec/test/integration/default/apache_conf_spec.rb
2016-05-16 18:25:17 +02:00

16 lines
372 B
Ruby

# encoding: utf-8
# TODO: do not run those tests on docker yet
return if ENV['DOCKER']
return unless os.linux?
# direct access to params of apache conf
describe apache_conf do
its('LogLevel') { should cmp 'warn' }
its('MaxKeepAliveRequests') { should cmp 100 }
end
# only read one param
describe apache_conf.params('LogLevel') do
it { should include 'warn' }
end