spec/unit/plugins/darwin/filesystem_spec.rb in ohai-13.12.6 vs spec/unit/plugins/darwin/filesystem_spec.rb in ohai-14.0.28

- old
+ new

@@ -17,20 +17,15 @@ # require_relative "../../../spec_helper.rb" describe Ohai::System, "darwin filesystem plugin" do - let (:plugin) { get_plugin("darwin/filesystem") } + let(:plugin) { get_plugin("darwin/filesystem") } before(:each) do allow(plugin).to receive(:collect_os).and_return(:darwin) allow(plugin).to receive(:shell_out).with("df -i").and_return(mock_shell_out(0, "", "")) allow(plugin).to receive(:shell_out).with("mount").and_return(mock_shell_out(0, "", "")) - end - - it "sets both filesystem and filesystem2 attributes" do - plugin.run - expect(plugin[:filesystem]).to eq(plugin[:filesystem2]) end describe "when gathering filesystem usage data from df" do before(:each) do @stdout = <<-DF