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

8 lines
170 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|
2017-08-17 22:00:37 +05:30
config.after(:each) do
FileUtils.rm_rf(CarrierWave.root)
2016-06-02 11:05:42 +05:30
end
end