summaryrefslogtreecommitdiff
path: root/spec/functional/win32/sid_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/functional/win32/sid_spec.rb')
-rw-r--r--spec/functional/win32/sid_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/win32/sid_spec.rb b/spec/functional/win32/sid_spec.rb
index eac62d88b6..bdc570dfe6 100644
--- a/spec/functional/win32/sid_spec.rb
+++ b/spec/functional/win32/sid_spec.rb
@@ -17,12 +17,12 @@
#
require "spec_helper"
-if Chef::Platform.windows?
+if ChefUtils.windows?
require "chef/win32/security"
end
describe "Chef::ReservedNames::Win32::SID", :windows_only do
- if Chef::Platform.windows?
+ if ChefUtils.windows?
SID ||= Chef::ReservedNames::Win32::Security::SID
end