Fix Ruby 3 kwargs incompatibilities in specs
What does this MR do and why?
Fixes syntax incompatible with Ruby 3.
Split from !70798 (closed).
Example failures on Ruby 3:
- https://gitlab.com/gitlab-org/gitlab/-/jobs/2446901825
- https://gitlab.com/gitlab-org/gitlab/-/jobs/2446901809
How to set up and validate locally
Specs-only change. We rely on CI in this case.
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.