debian-mirror-gitlab/spec/support/carrierwave.rb
2019-10-12 21:52:04 +05:30

10 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