spec/spec_helper.rb in palimpsest-0.0.1 vs spec/spec_helper.rb in palimpsest-0.1.0

- old
+ new

@@ -10,6 +10,12 @@ SimpleCov.start RSpec.configure do |c| c.expect_with(:rspec) { |e| e.syntax = :expect } + + c.after :suite do + Dir.glob("#{Palimpsest::Environment.new.options[:tmp_dir]}/#{Palimpsest::Environment.new.options[:dir_prefix]}*").each do |dir| + FileUtils.remove_entry_secure dir + end + end end