inspec/test/unit/resource_auditd_conf_test.rb

17 lines
433 B
Ruby
Raw Normal View History

2015-09-05 21:07:00 +00:00
# encoding: utf-8
2015-10-06 16:55:44 +00:00
# author: Christoph Hartmann
# author: Dominik Richter
2015-09-05 21:07:00 +00:00
require 'helper'
require 'vulcano/resource'
describe 'Vulcano::Resources::AuditDaemonConf' do
2015-09-22 16:31:21 +00:00
let(:resource) { load_resource('audit_daemon_conf') }
2015-09-05 21:07:00 +00:00
2015-09-22 16:33:05 +00:00
it 'check audit daemon config parsing' do
_(resource.space_left_action).must_equal 'SYSLOG'
_(resource.action_mail_acct).must_equal 'root'
_(resource.tcp_listen_queue).must_equal '5'
2015-09-05 21:07:00 +00:00
end
end