mirror of
https://github.com/inspec/inspec
synced 2024-12-22 19:13:24 +00:00
659b4b373a
Signed-off-by: Miah Johnson <miah@chia-pet.org>
14 lines
425 B
Ruby
14 lines
425 B
Ruby
# author: Christoph Hartmann
|
|
# author: Dominik Richter
|
|
|
|
require 'helper'
|
|
require 'inspec/resource'
|
|
|
|
describe 'Inspec::Resources::AuditDaemonConf' do
|
|
it 'check audit daemon config parsing' do
|
|
resource = MockLoader.new(:windows).load_resource('auditd_conf')
|
|
_(resource.space_left_action).must_equal 'SYSLOG'
|
|
_(resource.action_mail_acct).must_equal 'root'
|
|
_(resource.tcp_listen_queue).must_equal '5'
|
|
end
|
|
end
|