mirror of
https://github.com/inspec/inspec
synced 2024-12-02 09:29:32 +00:00
1c66679e46
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
13 lines
472 B
Ruby
13 lines
472 B
Ruby
require "helper"
|
|
require "inspec/resource"
|
|
require "inspec/resources/auditd_conf"
|
|
|
|
describe "Inspec::Resources::AuditDaemonConf" do
|
|
it "check audit daemon config parsing" do
|
|
resource = MockLoader.new(:windows).load_resource("auditd_conf")
|
|
_(resource.resource_id).must_equal "/etc/audit/auditd.conf"
|
|
_(resource.space_left_action).must_equal "SYSLOG"
|
|
_(resource.action_mail_acct).must_equal "root"
|
|
_(resource.tcp_listen_queue).must_equal "5"
|
|
end
|
|
end
|