inspec/test/unit/resources/auditd_conf_test.rb
2015-10-26 12:34:15 +01:00

15 lines
443 B
Ruby

# encoding: utf-8
# 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