Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-05 22:40:33 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-05 22:40:33 +0300
commitd7c5be92af9c10cf20e78363c188c1a707a6bb90 (patch)
treedf2d354bc4277c7a0324fb8240bd4e24d58007f2 /spec/support/database_cleaner.rb
parentb28d1361dd1ec63053dbfae475097928c6d01116 (diff)
Add latest changes from gitlab-org/gitlab@15-6-stable-ee
Diffstat (limited to 'spec/support/database_cleaner.rb')
-rw-r--r--spec/support/database_cleaner.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/support/database_cleaner.rb b/spec/support/database_cleaner.rb
index 222cbe9feeb..7bd1f0c5dfa 100644
--- a/spec/support/database_cleaner.rb
+++ b/spec/support/database_cleaner.rb
@@ -22,14 +22,4 @@ RSpec.configure do |config|
self.class.use_transactional_tests = true
end
-
- config.around(:each, :migration) do |example|
- self.class.use_transactional_tests = false
-
- example.run
-
- delete_from_all_tables!(except: deletion_except_tables)
-
- self.class.use_transactional_tests = true
- end
end