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

Disable db_cleaner tables caching in migrations tests

parent e2030ca0
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -19,8 +19,8 @@ RSpec.configure do |config|
DatabaseCleaner.strategy = :truncation
end
 
config.before(:context, :migration) do
DatabaseCleaner.strategy = :truncation
config.before(:each, :migration) do
DatabaseCleaner.strategy = :truncation, { cache_tables: false }
end
 
config.before(:each) do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment