From fada6128a03cdf30d9d0e11eae7ef0ed2a37f211 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Thu, 2 Jul 2020 08:51:04 -0500 Subject: [PATCH] Match on "Other Account Logon Events" rather than "Credential Validation" to work around issue #93. --- spec/acceptance/suites/02_event_audit_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/acceptance/suites/02_event_audit_spec.rb b/spec/acceptance/suites/02_event_audit_spec.rb index 718227a..bf99849 100644 --- a/spec/acceptance/suites/02_event_audit_spec.rb +++ b/spec/acceptance/suites/02_event_audit_spec.rb @@ -19,10 +19,10 @@ apply_manifest(manifest, 'catch_changes' => true) end - xit 'sets the value correctly' do # Value appears to be set to the default of 'Success' + it 'sets the value correctly' do hosts.each do |host| value = on(host, 'auditpol /get /category:*') - expect(value.output).to match(%r{^\s*Credential Validation\s*No Auditing$}) + expect(value.output).to match(%r{^\s*Other Account Logon Events\s*No Auditing$}) end end end