summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavin Taddeo <davin@chef.io>2020-06-15 12:02:00 -0400
committerDavin Taddeo <davin@chef.io>2020-06-15 12:02:00 -0400
commit80bdae1f837a33051df36c2c31f065f767af269f (patch)
tree0a9c57d8b8b2e1aa414772262e8c0436cac65116
parenta3b56ce6c6efe31202679714457183cd9586199b (diff)
downloadchef-80bdae1f837a33051df36c2c31f065f767af269f.tar.gz
missed commiting the reference to the full chain to reference the WIN_AUDIT_SUBCATEGORIES constant
Signed-off-by: Davin Taddeo <davin@chef.io>
-rw-r--r--spec/unit/resource/windows_audit_policy_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/windows_audit_policy_spec.rb b/spec/unit/resource/windows_audit_policy_spec.rb
index 74588984ba..b400b6772d 100644
--- a/spec/unit/resource/windows_audit_policy_spec.rb
+++ b/spec/unit/resource/windows_audit_policy_spec.rb
@@ -49,7 +49,7 @@ describe Chef::Resource::WindowsAuditPolicy do
expect { resource.failure "not_a_true_or_false" }.to raise_error(Chef::Exceptions::ValidationFailed)
end
- WindowsAuditPolicy::WIN_AUDIT_SUBCATEGORIES.each do |val|
+ Chef::Resource::WindowsAuditPolicy::WIN_AUDIT_SUBCATEGORIES.each do |val|
it "the subcategory property accepts :#{val}" do
expect { resource.subcategory val }.not_to raise_error
end