summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/deprecated.rb2
-rw-r--r--spec/unit/knife/supermarket_install_spec.rb3
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)