summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chef-config/spec/unit/workstation_config_loader_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/chef-config/spec/unit/workstation_config_loader_spec.rb b/chef-config/spec/unit/workstation_config_loader_spec.rb
index 38fd727ce9..509d95fe36 100644
--- a/chef-config/spec/unit/workstation_config_loader_spec.rb
+++ b/chef-config/spec/unit/workstation_config_loader_spec.rb
@@ -38,6 +38,7 @@ RSpec.describe ChefConfig::WorkstationConfigLoader do
before do
# We set this to nil so that a dev workstation will
# not interfere with the tests.
+ ChefConfig::Config.reset
ChefConfig::Config[:config_d_dir] = nil
end