mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
better description for tests
This commit is contained in:
parent
1b92d15d8f
commit
c0d105671e
1 changed files with 4 additions and 2 deletions
|
@ -6,7 +6,8 @@ require 'inspec/resource'
|
|||
require 'hashie'
|
||||
|
||||
describe 'Inspec::Resources::ApacheConf' do
|
||||
it 'reads values in apache2.conf' do
|
||||
# debian style apache2
|
||||
it 'reads values in apache2.conf and from Include, IncludeOptional params' do
|
||||
resource = MockLoader.new(:ubuntu1404).load_resource('apache_conf')
|
||||
_(resource.params).must_be_kind_of Hash
|
||||
require 'pp'
|
||||
|
@ -20,7 +21,8 @@ describe 'Inspec::Resources::ApacheConf' do
|
|||
'ENABLE_USR_LIB_CGI_BIN']
|
||||
end
|
||||
|
||||
it 'reads values in httpd.conf' do
|
||||
# non debian style httpd
|
||||
it 'reads values in httpd.conf and from Include, IncludeOptional params' do
|
||||
resource = MockLoader.new(:centos6).load_resource('apache_conf')
|
||||
_(resource.params).must_be_kind_of Hash
|
||||
_(resource.content).must_be_kind_of String
|
||||
|
|
Loading…
Reference in a new issue