Sha256: fff9787afae482d13c7066c4c3e3e827d96914ebba9ca416f0f5c6ce66587d9f

Contents?: true

Size: 372 Bytes

Versions: 10

Compression:

Stored size: 372 Bytes

Contents

# 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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
inspec-0.28.1 test/integration/default/apache_conf_spec.rb
inspec-0.28.0 test/integration/default/apache_conf_spec.rb
inspec-0.27.1 test/integration/default/apache_conf_spec.rb
inspec-0.27.0 test/integration/default/apache_conf_spec.rb
inspec-0.26.0 test/integration/default/apache_conf_spec.rb
inspec-0.25.0 test/integration/default/apache_conf_spec.rb
inspec-0.24.0 test/integration/default/apache_conf_spec.rb
inspec-0.23 test/integration/default/apache_conf_spec.rb
inspec-0.22.1 test/integration/default/apache_conf_spec.rb
inspec-0.22.0 test/integration/default/apache_conf_spec.rb