Skip to content

Fix migration spec failing in Ruby 3

Stan Hu requested to merge sh-fix-ruby-3-migration-spec into master

What does this MR do and why?

A background migration spec was failing in Ruby 3 due to kwarg matching rules enforced with Ruby 3: https://github.com/rspec/rspec-mocks/pull/1394

To fix this, we just need to make the arguments a Hash.

Relates to #386106 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Stan Hu

Merge request reports