Change the default CarrierWave root path for tests

This more closely resembles the development and production paths in that
paths contain `public/uploads`, rather than `uploads/uploads` as they
did before.
This commit is contained in:
Robert Speicher 2017-02-28 13:33:47 -05:00
parent 2cfb67dfef
commit c4c2ac10d0

View file

@ -1,4 +1,4 @@
CarrierWave.root = File.expand_path('tmp/tests/uploads', Rails.root)
CarrierWave.root = File.expand_path('tmp/tests/public', Rails.root)
RSpec.configure do |config|
config.after(:each) do