inspec/test/unit/resource_auditd_conf_test.rb

17 lines
429 B
Ruby
Raw Normal View History

2015-09-05 21:07:00 +00:00
# encoding: utf-8
require 'helper'
require 'vulcano/resource'
describe 'Vulcano::Resources::AuditDaemonConf' do
describe 'audit_daemon_conf' do
let(:resource) { loadResource('audit_daemon_conf') }
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'
end
end
end