diff options
author | Salim Alam <salam@chef.io> | 2016-03-31 18:37:36 -0700 |
---|---|---|
committer | Salim Alam <salam@chef.io> | 2016-03-31 18:37:36 -0700 |
commit | 2b48b0c838ad9ad94da17bd82508445ffe1ea0cb (patch) | |
tree | c084053da5c110006e6fb75d7c5253d3bbf85db0 /spec/unit/provider | |
parent | c6c7a3b2d592dcddfcda42ef6793cd55bdcbd59d (diff) | |
download | chef-2b48b0c838ad9ad94da17bd82508445ffe1ea0cb.tar.gz |
Revert "Spec break on Windows due to temp dir and short path names"
This reverts commit e25b75e9fcd26ccc9c9094a43b614306de1047db.
Diffstat (limited to 'spec/unit/provider')
-rw-r--r-- | spec/unit/provider/remote_directory_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/remote_directory_spec.rb b/spec/unit/provider/remote_directory_spec.rb index fba134a521..710d6613fc 100644 --- a/spec/unit/provider/remote_directory_spec.rb +++ b/spec/unit/provider/remote_directory_spec.rb @@ -106,7 +106,7 @@ describe Chef::Provider::RemoteDirectory do @node.automatic_attrs[:platform] = :just_testing @node.automatic_attrs[:platform_version] = :just_testing - @destination_dir = make_canonical_temp_directory << "/remote_directory_test" + @destination_dir = Dir.mktmpdir << "/remote_directory_test" @resource.path(@destination_dir) end |