diff --git a/spec/support/kit/temp_dir.rb b/spec/support/kit/temp_dir.rb
index <HASH>..<HASH> 100644
--- a/spec/support/kit/temp_dir.rb
+++ b/spec/support/kit/temp_dir.rb
@@ -14,9 +14,10 @@ RSpec.configure do |config|
   config.include RSpec::Kit::TempDirContext
 
   config.before do |example|
-    if example.metadata[:temp_dir]
-      FileUtils.rm_rf(temp_dir) if File.exist?(temp_dir)
-      FileUtils.mkdir_p(temp_dir)
-    end
+    FileUtils.mkdir_p(temp_dir) if example.metadata[:temp_dir]
+  end
+
+  config.after do |example|
+    FileUtils.rm_rf(temp_dir) if example.metadata[:temp_dir]
   end
 end
Updated RSpec temp_dir clean to happen after test.

- Necessary to build new sub-directory structures within
  the temp_dir without it being deleted with each before
  block.
- Moves cleaning up of the temp_dir after each test.