spec/unit/plugins/linux/filesystem_spec.rb in ohai-15.1.5 vs spec/unit/plugins/linux/filesystem_spec.rb in ohai-15.2.5

- old
+ new

@@ -408,9 +408,10 @@ MOUNTS @counter = 0 allow(@double_file).to receive(:read_nonblock) do @counter += 1 raise EOFError if @counter == 2 + @mounts end allow(@double_file).to receive(:close) allow(File).to receive(:open).with("/proc/mounts").and_return(@double_file) end