Commit d917ac0f authored by Grzegorz Bizon's avatar Grzegorz Bizon

Clear Carrierwave upload after each test example

parent 78529bbd
CarrierWave.root = 'tmp/tests/uploads' CarrierWave.root = 'tmp/tests/uploads'
RSpec.configure do |config| RSpec.configure do |config|
config.after(:suite) do config.after(:each) do
FileUtils.rm_rf('tmp/tests/uploads') FileUtils.rm_rf('tmp/tests/uploads')
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment