Commit eebbb1c7 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'limit_leaks_gitlab_transactions_stack' into 'master'

Limit leaks to gitlab_transactions_stack

See merge request gitlab-org/gitlab!80454
parents f68a9fdc 23a65635
# 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
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