diff options
author | Michael Kozono <mkozono@gmail.com> | 2018-02-23 14:12:54 -0800 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2018-02-23 14:12:54 -0800 |
commit | 389019aaea34229bd3219a13352d1e321a9db215 (patch) | |
tree | c7454d1544fc1c6b2581448b3e0ff25c67c6d267 /spec/support/db_cleaner.rb | |
parent | 296a4e6825a3528917bb385123cdf62ae3d1944e (diff) | |
download | gitlab-ce-389019aaea34229bd3219a13352d1e321a9db215.tar.gz |
Fix deletion attempts on dropped tables
Diffstat (limited to 'spec/support/db_cleaner.rb')
-rw-r--r-- | spec/support/db_cleaner.rb | 4 |
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 |