Fix a flaky spec caused by the use of let_it_be
What does this MR do and why?
The usage of let_it_be(:merge_request)
was causing the flakiness in this spec due to the state leak. We should just use plain let here.
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.
Related to #433956 (closed)
Edited by Sincheol (David) Kim
Merge request reports
Activity
Please register or sign in to reply