2019-10-12 21:52:04 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
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-15 15:39:39 +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
|