diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-25 15:04:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-25 15:04:30 +0300 |
commit | 67370c8b72013a75705265605517a40daf69fc33 (patch) | |
tree | 5a54d854073bd1e413f21d76141e09a0a41f7630 /spec/spec_helper.rb | |
parent | 185d9acf520cc806840e8ba6c83deb1ec4817e0f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c42a64b36c5..e7c0a4a43ed 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -15,6 +15,7 @@ require 'rspec/retry' require 'rspec-parameterized' require 'shoulda/matchers' require 'test_prof/recipes/rspec/let_it_be' +require 'test_prof/factory_default' rspec_profiling_is_configured = ENV['RSPEC_PROFILING_POSTGRES_URL'].present? || @@ -360,3 +361,6 @@ Rugged::Settings['search_path_global'] = Rails.root.join('tmp/tests').to_s # Disable timestamp checks for invisible_captcha InvisibleCaptcha.timestamp_enabled = false + +# Initialize FactoryDefault to use create_default helper +TestProf::FactoryDefault.init |