summaryrefslogtreecommitdiff
path: root/spec/support/carrierwave.rb
blob: 8da55514c78b8c1d1eb1cb064912cf89a0cdc165 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

CarrierWave.root = File.expand_path('tmp/tests/public', Rails.root)

RSpec.configure do |config|
  config.after do
    FileUtils.rm_rf(CarrierWave.root)
  end
end