mirror of
https://github.com/inspec/inspec
synced 2024-11-30 16:39:20 +00:00
1c66679e46
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
11 lines
365 B
Ruby
11 lines
365 B
Ruby
require "helper"
|
|
require "inspec/resource"
|
|
require "inspec/resources/audit_policy"
|
|
|
|
describe "Inspec::Resources::AuditPolicy" do
|
|
it "check audit policy parsing" do
|
|
resource = MockLoader.new(:windows).load_resource("audit_policy")
|
|
_(resource.resource_id).must_equal "Auditpol"
|
|
_(resource.send("User Account Management")).must_equal "Success"
|
|
end
|
|
end
|