diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-01 12:08:22 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-01 12:08:22 +0300 |
commit | 5a9468a4e504d06fd8f5a558f953f4af6355f702 (patch) | |
tree | d402684e9c551f934cf1388b5f132ff1d2224747 /spec/support/database_cleaner.rb | |
parent | e0ae0d63cd9361c82adab74a7b6fcbac956ecfaf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/database_cleaner.rb')
-rw-r--r-- | spec/support/database_cleaner.rb | 10 |
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 |