summaryrefslogtreecommitdiff
path: root/spec/functional/win32/versions_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/functional/win32/versions_spec.rb')
-rw-r--r--spec/functional/win32/versions_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/win32/versions_spec.rb b/spec/functional/win32/versions_spec.rb
index aee5bbbcd4..53fce39491 100644
--- a/spec/functional/win32/versions_spec.rb
+++ b/spec/functional/win32/versions_spec.rb
@@ -36,7 +36,7 @@ describe "Chef::ReservedNames::Win32::Version", :windows_only, :not_supported_on
# from WMI contain extended characters such as registered
# trademark on Win2k8 and Win2k3 that we're not using in our
# library, so we have to set the expectation statically.
- if Chef::Platform::windows_server_2003?
+ if Chef::Platform.windows_server_2003?
@current_os_version = "Windows Server 2003 R2"
elsif is_windows_server_2008?(host)
@current_os_version = "Windows Server 2008"