Commit af5da29d authored by Stan Hu's avatar Stan Hu

Merge branch 'mk/fix-pg-undefined-table-untracked_files_for_uploads-does-not-exist' into 'master'

Fix deletion attempts on dropped tables in specs

Closes #42897

See merge request gitlab-org/gitlab-ce!17340
parents fc6ae0af 389019aa
...@@ -28,11 +28,11 @@ RSpec.configure do |config| ...@@ -28,11 +28,11 @@ RSpec.configure do |config|
end end
config.before(:each, :js) do config.before(:each, :js) do
DatabaseCleaner.strategy = :deletion DatabaseCleaner.strategy = :deletion, { cache_tables: false }
end end
config.before(:each, :delete) do config.before(:each, :delete) do
DatabaseCleaner.strategy = :deletion DatabaseCleaner.strategy = :deletion, { cache_tables: false }
end end
config.before(:each, :migration) do 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