diff options
author | Thom May <thom@chef.io> | 2017-12-18 17:28:39 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2017-12-18 17:28:39 +0000 |
commit | 92671398a99bb4393650f4343c3b2a20814eb3eb (patch) | |
tree | fa85f7e54e989117e0d0eedf040b61cf729f41af | |
parent | 5451b2a4640e62184a615c167600cb47f7bc363b (diff) | |
download | chef-tm/credentials.tar.gz |
ensure that the Config object is reset before each testtm/credentials
Signed-off-by: Thom May <thom@chef.io>
-rw-r--r-- | chef-config/spec/unit/workstation_config_loader_spec.rb | 1 |
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 |