diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a617782e2..ddea02d78 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -44,6 +44,10 @@ RSpec.configure do |config| config.before(:each, :type => :controller) do self.class.render_views end + + config.after(:all) do + `rm -rf #{Rails.root}/tmp/uploads/*` + end end disable_typhoeus