Use fast_spec_helper in test_level_spec
What does this MR do and why?
Describe in detail what your merge request does and why.
Before
➜ gitlab git:(master) bin/rspec spec/tooling/quality/test_level_spec.rb
warning: parser/current is loading parser/ruby27, which recognizes2.7.6-compliant syntax, but you are running 2.7.5.
Please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Test environment set up in 5.255959 seconds
........................................
Finished in 9.89 seconds (files took 8.55 seconds to load)
40 examples, 0 failures
After
[TEST PROF INFO] Time spent in factories: 00:00.006 (0.06% of total time)
➜ gitlab git:(master) bin/rspec spec/tooling/quality/test_level_spec.rb
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
........................................
Finished in 0.01101 seconds (files took 1.03 seconds to load)
40 examples, 0 failures
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.