diff options
author | John McCrae <john.mccrae@progress.com> | 2022-03-31 13:59:04 -0700 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-03-31 13:59:04 -0700 |
commit | f2e3505921bb6dea1e7a77b584f13f4da8e919fa (patch) | |
tree | 63b2f1820bf8f6030361df95bd19d7a7cc07b2d8 | |
parent | 47d4813c902b1efd80ff4acfd6c0393c14dabc9b (diff) | |
download | wmi-lite-f2e3505921bb6dea1e7a77b584f13f4da8e919fa.tar.gz |
updated pipleline to test against Ruby 3.x and narrowed down the list of OS variables to compare
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | spec/functional/wmi_spec.rb | 3 |
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}/) |