summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/plugins/linux/filesystem2_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/unit/plugins/linux/filesystem2_spec.rb b/spec/unit/plugins/linux/filesystem2_spec.rb
index 19bdde12..33e26f49 100644
--- a/spec/unit/plugins/linux/filesystem2_spec.rb
+++ b/spec/unit/plugins/linux/filesystem2_spec.rb
@@ -54,8 +54,7 @@ describe Ohai::System, "Linux filesystem plugin" do
it "sets both filesystem and filesystem_v2 attributes" do
plugin.run
- expect(plugin[:filesystem]).to_not be_nil
- expect(plugin[:filesystem_v2]).to_not be_nil
+ expect(plugin[:filesystem]).to eq(plugin[:filesystem_v2])
end
describe "when gathering filesystem usage data from df" do