diff options
author | Tim Smith <tsmith@chef.io> | 2017-04-03 20:32:13 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-04-03 20:32:13 -0700 |
commit | 7d46875b830650d8a5ba1059ad16b9a18a664ec9 (patch) | |
tree | 4fb8380f6d9d19324279776a66f3f03d8d80ebb9 | |
parent | 9ece94f53682c728c9eaf89157e80c6822928519 (diff) | |
download | ohai-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.rb | 3 |
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 |