debian-mirror-gitlab/spec/support/carrierwave.rb
2017-08-17 22:00:37 +05:30

8 lines
170 B
Ruby

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