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
This commit is contained in:
Stan Hu 2018-02-23 22:49:55 +00:00
commit af5da29df5

View file

@ -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