2
0
Fork 0
mirror of https://github.com/inspec/inspec synced 2024-12-28 14:03:14 +00:00
inspec/test/unit/resources/auditd_conf_test.rb

13 lines
408 B
Ruby
Raw Normal View History

require "helper"
require "inspec/resource"
require "inspec/resources/auditd_conf"
2015-09-05 21:07:00 +00:00
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"
2015-09-05 21:07:00 +00:00
end
end