debian-mirror-gitlab/spec/support/carrierwave.rb
2019-02-15 15:39:39 +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