summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-04-03 20:32:13 -0700
committerTim Smith <tsmith@chef.io>2017-04-03 20:32:13 -0700
commit7d46875b830650d8a5ba1059ad16b9a18a664ec9 (patch)
tree4fb8380f6d9d19324279776a66f3f03d8d80ebb9
parent9ece94f53682c728c9eaf89157e80c6822928519 (diff)
downloadohai-7d46875b830650d8a5ba1059ad16b9a18a664ec9.tar.gz
Check to see if the attributes are actually equal
Signed-off-by: Tim Smith <tsmith@chef.io>
-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