inspec/test/integration/default/controls/secpol_spec.rb
Christoph Hartmann 47eabbb221 add functional tests for inspec check (#2077)
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-08-15 20:41:24 +02:00

11 lines
266 B
Ruby

# encoding: utf-8
unless os.windows?
STDERR.puts "\033[1;33mTODO: Not running #{__FILE__} because we are not on Windows.\033[0m"
return
end
describe security_policy do
its('EnableAdminAccount') { should eq 1 }
its('EnableGuestAccount') { should eq 0 }
end