mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
fix unit tests
This commit is contained in:
parent
4bcfc76f27
commit
126ce88bce
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ require 'vulcano/resource'
|
|||
|
||||
describe 'Vulcano::Resources::AuditDaemonConf' do
|
||||
it 'check audit daemon config parsing' do
|
||||
resource = MockLoader.new(:windows).load_resource('audit_daemon_conf')
|
||||
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'
|
||||
|
|
|
@ -7,7 +7,7 @@ require 'vulcano/resource'
|
|||
|
||||
describe 'Vulcano::Resources::AuditDaemonRules' do
|
||||
it 'check audit policy parsing' do
|
||||
resource = MockLoader.new(:windows).load_resource('audit_daemon_rules')
|
||||
resource = MockLoader.new(:windows).load_resource('auditd_rules')
|
||||
_(resource.send('LIST_RULES')).must_equal [
|
||||
'exit,always syscall=rmdir,unlink',
|
||||
'exit,always auid=1001 (0x3e9) syscall=open',
|
||||
|
|
Loading…
Reference in a new issue