diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-09-03 13:22:23 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-09-03 13:22:23 -0700 |
commit | a5b2f1ffa6ef2402f972032874e4dc6ed435ac01 (patch) | |
tree | 1240d1757c8263885bc31590daba1ab6b5cd37eb | |
parent | f764c5be71dceecfc309b670aa619d9a04a00f89 (diff) | |
download | chef-lcg/deprecate-vendor.tar.gz |
fix specslcg/deprecate-vendor
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/deprecated.rb | 2 | ||||
-rw-r--r-- | spec/unit/knife/supermarket_install_spec.rb | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/chef/deprecated.rb b/lib/chef/deprecated.rb index 125c412614..9e68de935d 100644 --- a/lib/chef/deprecated.rb +++ b/lib/chef/deprecated.rb @@ -196,7 +196,7 @@ class Chef target 19 end - class CookbookInstallVendor < Base + class SupermarketInstallVendor < Base target 20 end diff --git a/spec/unit/knife/supermarket_install_spec.rb b/spec/unit/knife/supermarket_install_spec.rb index 9c969106fc..468ffdcff0 100644 --- a/spec/unit/knife/supermarket_install_spec.rb +++ b/spec/unit/knife/supermarket_install_spec.rb @@ -1,6 +1,6 @@ # # Author:: Steven Danna (<steve@chef.io>) -# Copyright:: Copyright 2011-2018, Chef Software, Inc. +# Copyright:: Copyright 2011-2019, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -39,6 +39,7 @@ describe Chef::Knife::SupermarketInstall do end before(:each) do + Chef::Config[:treat_deprecation_warnings_as_errors] = false require "chef/knife/core/cookbook_scm_repo" allow(knife.ui).to receive(:stdout).and_return(stdout) |