debian-mirror-gitlab/spec/support/carrierwave.rb
2019-02-13 22:33:31 +05:30

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