diff options
author | Matt Wrock <matt@mattwrock.com> | 2016-08-16 07:27:53 -0700 |
---|---|---|
committer | Matt Wrock <matt@mattwrock.com> | 2016-08-16 07:27:53 -0700 |
commit | dce567f7e903c9feaedca0912753c1a012dcf0ce (patch) | |
tree | e2ffb8edfe6a97abe3dd5326c4fbcfd2681e35cd /spec/support | |
parent | 01015cc4b5711edcd4eab4378753f1594d3fc1ec (diff) | |
download | chef-dce567f7e903c9feaedca0912753c1a012dcf0ce.tar.gz |
clear test directory before file resource examples
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/shared/functional/file_resource.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/support/shared/functional/file_resource.rb b/spec/support/shared/functional/file_resource.rb index bb8db772be..ec515e2e91 100644 --- a/spec/support/shared/functional/file_resource.rb +++ b/spec/support/shared/functional/file_resource.rb @@ -1035,6 +1035,7 @@ shared_context Chef::Resource::File do end before do + FileUtils.rm_rf(test_file_dir) FileUtils.mkdir_p(test_file_dir) end |