Commit d90b0f8c authored by Grzegorz Bizon's avatar Grzegorz Bizon

Disable db_cleaner tables caching in migrations tests

parent e2030ca0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment