clear tmp image uploads after you run tests

This commit is contained in:
Maxwell Salzberg 2011-05-13 14:34:45 -07:00
parent 65ecfafc4e
commit cd4c792908

View file

@ -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