spec/unit/plugins/windows/uptime_spec.rb in ohai-14.2.0 vs spec/unit/plugins/windows/uptime_spec.rb in ohai-14.3.0

- old
+ new

@@ -19,10 +19,10 @@ require_relative "../../../spec_helper.rb" describe Ohai::System, "Windows plugin uptime" do let(:plugin) { get_plugin("uptime") } - let(:wmi) { double("wmi", { :first_of => "" }) } + let(:wmi) { double("wmi", { first_of: "" }) } before(:each) do allow(WmiLite::Wmi).to receive(:new).and_return(wmi) allow(plugin).to receive(:collect_os).and_return(:windows) end