Fix a spec that fails in Ruby 3.2
What
Fix a spec that fails in Ruby 3.2
Why
Ruby 3.2 requires the keyword arguments to be properly propagated and the test now fails on Ruby 3.2: https://gitlab.com/gitlab-org/gitlab/-/jobs/5859700191
Edited by Igor Drozdov