clear tmp image uploads after you run tests
This commit is contained in:
parent
65ecfafc4e
commit
cd4c792908
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue