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

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

RSpec.configure do |config|
  config.after do |ex|
    TestProf::FactoryDefault.reset unless ex.metadata[:factory_default] == :keep
  end

  config.after(:all) do
    TestProf::FactoryDefault.reset
  end
end