You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @jetienne, thanks for reporting that. We have a PR https://github.com/thoughtbot/shoulda-matchers/pull/1632/files that introduces compatibility between shoulda-matchers and Rails 7.2 and fixes this problem. We're waiting for the official release to merge it, to avoid any late change from the Rails team.
Thanks @matsales28 I'm attempting to upgrade to Rails 7.2 now and hitting this issue. I'll temporarily disable the counter_cache checks until the PR is merged.
Description
Testing counter_cache no longer works with Rails 7.2.beta.
Reproduction Steps
Define an association like this:
The following test will fail:
System configuration
shoulda-matchers (6.2.0)
The text was updated successfully, but these errors were encountered: