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

cross_database_modification.rb « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e0d91001c03dcf2e05e15e3d007fc5df9331e6c9 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

RSpec.configure do |config|
  config.after do |example|
    [::ApplicationRecord, ::Ci::ApplicationRecord].each do |base_class|
      base_class.gitlab_transactions_stack.clear if base_class.respond_to?(:gitlab_transactions_stack)
    end
  end
end