diff options
author | Adam Edwards <adamed@opscode.com> | 2014-05-13 23:34:24 -0700 |
---|---|---|
committer | sersut <serdar@opscode.com> | 2014-05-30 13:05:48 -0700 |
commit | 2f11b7f0806e2ac81e68cdd7fccff280e70bc6f3 (patch) | |
tree | ded26108a8ac5417fc48cb2fb916a3ed967300cd /spec/functional/win32 | |
parent | b8238c9c6bb59b906554e8d9bad4169589e5071d (diff) | |
download | chef-2f11b7f0806e2ac81e68cdd7fccff280e70bc6f3.tar.gz |
Use wmi-lite gem dependency for wmi access
Diffstat (limited to 'spec/functional/win32')
-rw-r--r-- | spec/functional/win32/versions_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/win32/versions_spec.rb b/spec/functional/win32/versions_spec.rb index e1a12a4dc6..7b314b394d 100644 --- a/spec/functional/win32/versions_spec.rb +++ b/spec/functional/win32/versions_spec.rb @@ -24,7 +24,7 @@ end describe "Chef::ReservedNames::Win32::Version", :windows_only, :not_supported_on_win2k3 do before do - wmi = Chef::ReservedNames::Win32::WMI.new + wmi = WmiInstance::Wmi.new host = wmi.first_of('Win32_OperatingSystem') # Use WMI to determine current OS version. |