Commit 4ca2cbe9 authored by Michael Kozono's avatar Michael Kozono

Fix deletion attempts on dropped tables

parent 8da6ef70
......@@ -30,11 +30,11 @@ RSpec.configure do |config|
end
config.before(:each, :js) do
DatabaseCleaner.strategy = :deletion, { except: %w[licenses] }
DatabaseCleaner.strategy = :deletion, { except: %w[licenses], cache_tables: false }
end
config.before(:each, :delete) do
DatabaseCleaner.strategy = :deletion, { except: %w[licenses] }
DatabaseCleaner.strategy = :deletion, { except: %w[licenses], cache_tables: false }
end
config.before(:each, :migration) 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