CarrierWave.root = 'tmp/tests/uploads'

RSpec.configure do |config|
  config.after(:suite) do
    FileUtils.rm_rf('tmp/tests/uploads')
  end
end

CarrierWave.root = 'tmp/tests/uploads'

RSpec.configure do |config|
  config.after(:each) do
    FileUtils.rm_rf('tmp/tests/uploads')
  end
end

Clear Carrierwave upload after each test example
Clear Carrierwave upload after each test example
