gitlab-org--gitlab-foss/spec/support/carrierwave.rb
2018-12-11 11:29:58 +05:00

7 lines
163 B
Ruby

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