summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-02-09 10:53:18 -0800
committerGitHub <noreply@github.com>2017-02-09 10:53:18 -0800
commitbd8a0bf57973c5dda08b13ed990f8c0d78b58e4b (patch)
tree3141013569ce988f663fe42799e69df0dd45b34d
parent6ae19ac6f5400d74033c8ba589533eac968d0d0f (diff)
parent8e8be3c70cfc3ef6e48c845a4901f9a78883e3f6 (diff)
downloadchef-bd8a0bf57973c5dda08b13ed990f8c0d78b58e4b.tar.gz
Merge pull request #5798 from chef/lcg/rubocop-fix
fix for rubocop 0.47.1
-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