inspec/test/unit/resources/auditd_conf_test.rb
Ryan Davis a5309ea392 blindly applied chefstyle -a
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-11 18:52:03 -07:00

12 lines
408 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.space_left_action).must_equal "SYSLOG"
_(resource.action_mail_acct).must_equal "root"
_(resource.tcp_listen_queue).must_equal "5"
end
end