summaryrefslogtreecommitdiff
path: root/spec/unit/plugins/cloud_spec.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-07-14 16:41:49 -0700
committerTim Smith <tsmith@chef.io>2017-11-28 15:02:28 -0800
commitd6162b69002e5773c9078da5a8a27e545da9a98c (patch)
treedc0d292852d35be6d361dadd502120d965e8a36c /spec/unit/plugins/cloud_spec.rb
parent629ae2a25a43ef6625b53aa9ba54dc32fca9cc78 (diff)
downloadohai-d6162b69002e5773c9078da5a8a27e545da9a98c.tar.gz
Remove cloud_v2 and filesystem2 attributesremove_old_attributes
We made cloud_v2 and filesystem2 the default cloud and filesystem plugins in Chef 13. For backwards compatibility we wrote the data out to both locations, which bloated the node object size significantly. We've deprecated the legacy attributes and this removes them. Chef servers everywhere will thank us. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/plugins/cloud_spec.rb')
-rw-r--r--spec/unit/plugins/cloud_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/unit/plugins/cloud_spec.rb b/spec/unit/plugins/cloud_spec.rb
index ae9de7b3..6cd8497c 100644
--- a/spec/unit/plugins/cloud_spec.rb
+++ b/spec/unit/plugins/cloud_spec.rb
@@ -88,18 +88,6 @@ describe Ohai::System, "plugin cloud" do
@plugin[:digital_ocean] = nil
@plugin.run
expect(@plugin[:cloud]).to be_nil
- expect(@plugin[:cloud_v2]).to be_nil
- end
- end
-
- describe "with a cloud mash" do
- before do
- @plugin[:ec2] = Mash.new
- end
-
- it "populates cloud public ip" do
- @plugin.run
- expect(@plugin[:cloud]).to eq(@plugin[:cloud_v2])
end
end