```ruby
CarrierWave.root = 'tmp/tests/uploads'

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

Clear Carrierwave upload after each test example
user
```ruby
CarrierWave.root = 'tmp/tests/uploads'

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