fix unit tests

This commit is contained in:
Christoph Hartmann 2015-10-26 12:16:38 +01:00
parent 4bcfc76f27
commit 126ce88bce
2 changed files with 2 additions and 2 deletions

View file

@ -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'

View file

@ -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',