diff options
author | Davin Taddeo <davin@chef.io> | 2020-06-15 11:48:38 -0400 |
---|---|---|
committer | Davin Taddeo <davin@chef.io> | 2020-06-15 11:48:38 -0400 |
commit | 6b54f63c8c2fb72db154d186af7bb5083df4877a (patch) | |
tree | 64ad95a95f720db45aa5158318759e886973c3fe | |
parent | 2b804baad52719a5ee4b0113434bbba02d930f22 (diff) | |
download | chef-6b54f63c8c2fb72db154d186af7bb5083df4877a.tar.gz |
still not sure if I'm calling this constant right... if this doesn't work, I guess I'll ask for help or something ;)
Signed-off-by: Davin Taddeo <davin@chef.io>
-rw-r--r-- | spec/unit/resource/windows_audit_policy_spec.rb | 2 |
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 0bb294c907..74588984ba 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 - WIN_AUDIT_SUBCATEGORIES.each do |val| + WindowsAuditPolicy::WIN_AUDIT_SUBCATEGORIES.each do |val| it "the subcategory property accepts :#{val}" do expect { resource.subcategory val }.not_to raise_error end |