gitlab-org--gitlab-foss/spec/support/carrierwave.rb

8 lines
170 B
Ruby
Raw Normal View History

CarrierWave.root = File.expand_path('tmp/tests/public', Rails.root)
RSpec.configure do |config|
config.after(:each) do
FileUtils.rm_rf(CarrierWave.root)
end
end