Skip to content

Commit

Permalink
fix .positive
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Owen <[email protected]>
  • Loading branch information
spencer-cdw committed Oct 25, 2022
1 parent 086c9b2 commit 8ecbe80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controls/local_policies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@
describe registry_key('HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\\Netlogon\\Parameters') do
it { should exist }
it { should have_property 'MaximumPasswordAge' }
its('MaximumPasswordAge') { should cmp.positive? }
its('MaximumPasswordAge') { should cmp > 0 }
end
describe registry_key('HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\\Netlogon\\Parameters') do
it { should exist }
Expand Down

0 comments on commit 8ecbe80

Please sign in to comment.