diff options
author | Tim Smith <tsmith@chef.io> | 2017-04-03 13:49:58 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-04-03 13:49:58 -0700 |
commit | b37c1b363acb5297f830f7aff32a93385b04d9b5 (patch) | |
tree | 665713d841e34a9fae9040ee0bde54a75463a1a7 | |
parent | 6d70c6cabcc50a5dbd7fba5233b54fbef83abcb2 (diff) | |
download | ohai-cloud_v_no_more.tar.gz |
Improve the cloud vs. cloudv2 comparisoncloud_v_no_more
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | spec/unit/plugins/cloud_v2_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/unit/plugins/cloud_v2_spec.rb b/spec/unit/plugins/cloud_v2_spec.rb index 9fbd8dc9..e3634989 100644 --- a/spec/unit/plugins/cloud_v2_spec.rb +++ b/spec/unit/plugins/cloud_v2_spec.rb @@ -99,8 +99,7 @@ describe Ohai::System, "plugin cloud" do it "populates cloud public ip" do @plugin.run - expect(@plugin[:cloud_v2]).to_not be_nil - expect(@plugin[:cloud]).to_not be_nil + expect(@plugin[:cloud_v2]).to eq(@plugin[:cloud]) end end |