Skip to content
Snippets Groups Projects
Commit 6e747d72 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Move CarrierWave test env config to separate file

parent 7b11da63
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -45,10 +45,6 @@ RSpec.configure do |config|
config.before(:suite) do
TestEnv.init
end
config.after(:suite) do
FileUtils.rm_rf('tmp/tests/files')
end
end
 
FactoryGirl::SyntaxRunner.class_eval do
Loading
Loading
@@ -62,4 +58,3 @@ RSpec::Rails::ViewRendering::EmptyTemplatePathSetDecorator.class_eval do
end
 
ActiveRecord::Migration.maintain_test_schema!
CarrierWave.root = 'tmp/tests/files'
CarrierWave.root = 'tmp/tests/uploads'
RSpec.configure do |config|
config.after(:suite) do
FileUtils.rm_rf('tmp/tests/uploads')
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment