2016-02-01 16:18:33 +00:00
|
|
|
# encoding: utf-8
|
|
|
|
|
2016-05-10 17:23:11 +00:00
|
|
|
# TODO: do not run those tests on docker yet
|
|
|
|
return if ENV['DOCKER']
|
|
|
|
return unless os.linux?
|
2016-02-01 16:18:33 +00:00
|
|
|
|
2016-05-10 17:23:11 +00:00
|
|
|
# direct access to params of apache conf
|
|
|
|
describe apache_conf do
|
|
|
|
its('LogLevel') { should cmp 'warn' }
|
|
|
|
its('MaxKeepAliveRequests') { should cmp 100 }
|
|
|
|
end
|
2016-02-01 16:18:33 +00:00
|
|
|
|
2016-05-10 17:23:11 +00:00
|
|
|
# only read one param
|
|
|
|
describe apache_conf.params('LogLevel') do
|
|
|
|
it { should include 'warn' }
|
2016-02-01 16:18:33 +00:00
|
|
|
end
|