gitlab-org--gitlab-foss/spec/support/carrierwave.rb
2019-07-25 17:33:34 +12:00

9 lines
194 B
Ruby

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