mirror of
https://github.com/inspec/inspec
synced 2024-11-13 08:27:08 +00:00
a5309ea392
Signed-off-by: Ryan Davis <zenspider@chef.io>
10 lines
315 B
Ruby
10 lines
315 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.send("User Account Management")).must_equal "Success"
|
|
end
|
|
end
|