summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-02-09 09:52:27 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2017-02-09 09:52:27 -0800
commit8e8be3c70cfc3ef6e48c845a4901f9a78883e3f6 (patch)
tree3141013569ce988f663fe42799e69df0dd45b34d
parent6ae19ac6f5400d74033c8ba589533eac968d0d0f (diff)
downloadchef-8e8be3c70cfc3ef6e48c845a4901f9a78883e3f6.tar.gz
fix for rubocop 0.47.1
looks someone fixed an edge condition in rubocop Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--spec/support/platform_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/platform_helpers.rb b/spec/support/platform_helpers.rb
index 3dfabf91a7..fb50ee2298 100644
--- a/spec/support/platform_helpers.rb
+++ b/spec/support/platform_helpers.rb
@@ -94,7 +94,7 @@ end
def windows_user_right?(right)
return false unless windows?
- require 'chef/win32/security'
+ require "chef/win32/security"
Chef::ReservedNames::Win32::Security.get_account_right(ENV["USERNAME"]).include?(right)
end