summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorAdam Edwards <adamed@opscode.com>2014-05-13 23:34:24 -0700
committersersut <serdar@opscode.com>2014-05-30 13:05:48 -0700
commit3d9a0875b995f682562114f277816db415ff740a (patch)
tree036f6396107b2b6464ebb569b2e74e1f09f4d942 /spec/support
parentefdd050a0b9933a9d5140e70ec5c388b72070c6e (diff)
downloadchef-3d9a0875b995f682562114f277816db415ff740a.tar.gz
Use wmi-lite gem dependency for wmi access
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/platform_helpers.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/support/platform_helpers.rb b/spec/support/platform_helpers.rb
index 55832f8e13..75ab0c9cde 100644
--- a/spec/support/platform_helpers.rb
+++ b/spec/support/platform_helpers.rb
@@ -39,7 +39,6 @@ end
def windows_win2k3?
return false unless windows?
wmi = WmiLite::Wmi.new
-
host = wmi.first_of('Win32_OperatingSystem')
(host['version'] && host['version'].start_with?("5.2"))
end