debian-mirror-gitlab/spec/support/carrierwave.rb

8 lines
163 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
CarrierWave.root = File.expand_path('tmp/tests/public', Rails.root)
2016-06-02 11:05:42 +05:30
RSpec.configure do |config|
2019-02-13 22:33:31 +05:30
config.after do
2017-08-17 22:00:37 +05:30
FileUtils.rm_rf(CarrierWave.root)
2016-06-02 11:05:42 +05:30
end
end