summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2018-02-23 14:12:54 -0800
committerMichael Kozono <mkozono@gmail.com>2018-02-23 14:12:54 -0800
commit389019aaea34229bd3219a13352d1e321a9db215 (patch)
treec7454d1544fc1c6b2581448b3e0ff25c67c6d267
parent296a4e6825a3528917bb385123cdf62ae3d1944e (diff)
downloadgitlab-ce-389019aaea34229bd3219a13352d1e321a9db215.tar.gz
Fix deletion attempts on dropped tables
-rw-r--r--spec/support/db_cleaner.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/db_cleaner.rb b/spec/support/db_cleaner.rb
index 1809ae1d141..5edc5de2a09 100644
--- a/spec/support/db_cleaner.rb
+++ b/spec/support/db_cleaner.rb
@@ -28,11 +28,11 @@ RSpec.configure do |config|
end
config.before(:each, :js) do
- DatabaseCleaner.strategy = :deletion
+ DatabaseCleaner.strategy = :deletion, { cache_tables: false }
end
config.before(:each, :delete) do
- DatabaseCleaner.strategy = :deletion
+ DatabaseCleaner.strategy = :deletion, { cache_tables: false }
end
config.before(:each, :migration) do