We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 086c9b2 + 8ecbe80 commit ea38059Copy full SHA for ea38059
controls/local_policies.rb
@@ -1308,7 +1308,7 @@
1308
describe registry_key('HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\\Netlogon\\Parameters') do
1309
it { should exist }
1310
it { should have_property 'MaximumPasswordAge' }
1311
- its('MaximumPasswordAge') { should cmp.positive? }
+ its('MaximumPasswordAge') { should cmp > 0 }
1312
end
1313
1314
0 commit comments