Fix shoulda-matchers in Rails 5

What does this MR do?

It backports a fix for https://github.com/thoughtbot/shoulda-matchers/issues/913

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #47639 (closed)

Edited by Rémy Coutable

Merge request reports

Loading