summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/functional/wmi_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/functional/wmi_spec.rb b/spec/functional/wmi_spec.rb
index 0c9d5ea..5b3668c 100644
--- a/spec/functional/wmi_spec.rb
+++ b/spec/functional/wmi_spec.rb
@@ -122,8 +122,6 @@ describe WmiLite::Wmi, :windows_only do
#
# Update 3/31/2022
# There is no so much variability in the environment variables that we moved from sampling all of them to a select few
-
-
ignore = { "path" => true, "pathext" => true, "processor_architecture" => true, "psmodulepath" => true, "username" => true }
results.each do |result|
if ! variables.key?(result["name"]) || result["username"] != "<SYSTEM>"
@@ -135,7 +133,6 @@ describe WmiLite::Wmi, :windows_only do
processor_count_from_ruby = `echo #{ENV["NUMBER_OF_PROCESSORS"]}`.strip
expect(processor_count_from_wmi).to eql(processor_count_from_ruby)
-
operating_system_from_wmi = variables["OS"]
operating_system_from_ruby = `echo #{ENV["OS"]}`.strip
expect(/#{operating_system_from_wmi}/).to eql(/#{operating_system_from_ruby}/)