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:
parent
2cfb67dfef
commit
c4c2ac10d0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue