summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2018-07-11 12:55:34 -0700
committerNoah Kantrowitz <noah@coderanger.net>2018-07-11 12:55:34 -0700
commit61765d9d13793912f2032dce1fcdf092ef07d700 (patch)
tree1415bb2a5ff556aacb29b9b3c6a67b5407b83b90 /spec
parentd730505bb0d53d14c7b005c756ed4993b95fdf94 (diff)
downloadchef-61765d9d13793912f2032dce1fcdf092ef07d700.tar.gz
Use the right class for the reset.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Diffstat (limited to 'spec')
-rw-r--r--spec/integration/knife/config_get_profile_spec.rb2
-rw-r--r--spec/integration/knife/config_use_profile_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/knife/config_get_profile_spec.rb b/spec/integration/knife/config_get_profile_spec.rb
index 4566b790ce..e97b24b869 100644
--- a/spec/integration/knife/config_get_profile_spec.rb
+++ b/spec/integration/knife/config_get_profile_spec.rb
@@ -42,7 +42,7 @@ describe "knife config get-profile", :workstation do
ChefConfig::PathHelper.per_tool_home_environment = "KNIFE_HOME"
# Clear these out because they are cached permanently.
ChefConfig::PathHelper.class_exec { remove_class_variable(:@@home_dir) }
- Chef::Knife::ConfigGet.reset_config_loader!
+ Chef::Knife::ConfigGetProfile.reset_config_loader!
begin
ex.run
ensure
diff --git a/spec/integration/knife/config_use_profile_spec.rb b/spec/integration/knife/config_use_profile_spec.rb
index 5b224aefe4..a021dbbe6f 100644
--- a/spec/integration/knife/config_use_profile_spec.rb
+++ b/spec/integration/knife/config_use_profile_spec.rb
@@ -43,7 +43,7 @@ describe "knife config use-profile", :workstation do
ChefConfig::PathHelper.per_tool_home_environment = "KNIFE_HOME"
# Clear these out because they are cached permanently.
ChefConfig::PathHelper.class_exec { remove_class_variable(:@@home_dir) }
- Chef::Knife::ConfigGet.reset_config_loader!
+ Chef::Knife::ConfigUseProfile.reset_config_loader!
begin
ex.run
ensure