1 2 3 4 5 6 7
CarrierWave.root = 'tmp/tests/uploads' RSpec.configure do |config| config.after(:each) do FileUtils.rm_rf('tmp/tests/uploads') end end