Closed MorganBat closed 11 months ago
Hi @MorganBat,
Unfortunately, this matcher is only available on the main
branch of the gem, and we have not yet published it to a new version. I hope we can do that soon. Meanwhile, I created a new branch that contains this new matcher, you can use it on your project while we do not publish our new version. Hope that helps.
gem 'shoulda-matchers', github: 'thoughtbot/shoulda-matchers', branch: 'with-comparison-matcher'
I'll close this PR but I wanted to thank you regardless.
The README on GitHub lists a
validates_comparison_of
shoulda matcher. However, in my testing I get an error that it doesn't exist - this is reflected in the official documentation (https://matchers.shoulda.io/docs/v5.3.0/#activemodel-matchers) Which does NOT have thevalidates_comparison_of
matcher listed.