Update RSpec to 3.11
What does this MR do and why?
This MR updates rspec-mocks
to version 3.10.3. While working on the Ruby 3 upgrade, we noticed that certain specs were not failing, even though they did not comply with Ruby 3's new keyword arguments (e.g. https://gitlab.com/gitlab-org/gitlab/blob/master/spec/controllers/import/gitea_controller_spec.rb#L30-30) and using with
. This is fixed in the rspec-mocks 3.10.3.
e.g.
https://github.com/rspec/rspec-mocks/blob/main/Changelog.md#3103--2022-01-28
Support keyword argument semantics when constraining argument expectations using with on Ruby 3.0+ (Yusuke Endoh, #1394)
Changes
https://my.diffend.io/gems/rspec-mocks/3.10.2/3.10.3
How to set up and validate locally
Run RSpec suite
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.