spec/unit/plugins/windows/network_spec.rb in ohai-15.2.5 vs spec/unit/plugins/windows/network_spec.rb in ohai-15.3.1

- old
+ new

@@ -20,10 +20,10 @@ require "ipaddress" describe Ohai::System, "Windows Network Plugin" do let(:plugin) { get_plugin("windows/network") } - before(:each) do + before do allow(plugin).to receive(:collect_os).and_return(:windows) end describe "#interface_code" do let(:interface_idx) { 1 }