Use `let_it_be_with_refind` to fix failing specs
What does this MR do and why?
Use let_it_be_with_refind
to fix failing specs
This fixes the specs as the creation of associated objects in let
blocks were causing shared state leaks.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
Run this on the master and on this branch. It should pass on this branch and fail on master:
bundle exec rspec ee/spec/models/ee/project_spec.rb:1892
Related to #444703 (closed)