diff options
-rw-r--r-- | spec/unit/workstation_config_loader_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/workstation_config_loader_spec.rb b/spec/unit/workstation_config_loader_spec.rb index d1e352602d..de108ff6d7 100644 --- a/spec/unit/workstation_config_loader_spec.rb +++ b/spec/unit/workstation_config_loader_spec.rb @@ -241,7 +241,7 @@ describe Chef::WorkstationConfigLoader do t.path end - after { File.unlink(explicit_config_location) } + after { File.unlink(explicit_config_location) if File.exists?(explicit_config_location) } context "and is valid" do |