Fix rubocop offence in stage_entity_spec
What does this MR do and why?
Describe in detail what your merge request does and why.
Related #378910
Fix Rubocop offence
Before:
Finished in 6.17 seconds (files took 11.28 seconds to load)
1 example, 0 failures
[TEST PROF INFO] Time spent in factories: 00:00.490 (6.55% of total time)
[TEST PROF INFO] Factories usage
Total: 5
Total top-level: 2
Total time: 00:00.490 (out of 00:12.756)
Total uniq factories: 5
total top-level total time time per call top-level time name
1 1 0.0064s 0.0064s 0.0064s license
1 1 0.4843s 0.4843s 0.4843s group_label
1 0 0.2646s 0.2646s 0.0000s group
1 0 0.0178s 0.0178s 0.0000s namespace_settings
1 0 0.0047s 0.0047s 0.0000s namespace_ci_cd_settings
After:
Finished in 5.65 seconds (files took 8.98 seconds to load)
1 example, 0 failures
Randomized with seed 37710
[TEST PROF INFO] Time spent in factories: 00:00.005 (0.09% of total time)
[TEST PROF INFO] Factories usage
Total: 1
Total top-level: 1
Total time: 00:00.005 (out of 00:11.776)
Total uniq factories: 1
total top-level total time time per call top-level time name
1 1 0.0060s 0.0060s 0.0060s license
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.