-
-
Notifications
You must be signed in to change notification settings - Fork 910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add have_implicit_order_column matcher #1243
Add have_implicit_order_column matcher #1243
Conversation
4d601c4
to
ea7261f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @yaorlov — thanks for this PR and sorry it took me so long to review this. Everything here looks really good so thank you for doing this. I just had a few suggestions.
lib/shoulda/matchers/active_record/have_implicit_order_column.rb
Outdated
Show resolved
Hide resolved
lib/shoulda/matchers/active_record/have_implicit_order_column.rb
Outdated
Show resolved
Hide resolved
spec/unit/shoulda/matchers/active_record/have_implicit_order_column_spec.rb
Outdated
Show resolved
Hide resolved
6e58ca7
to
1b70d39
Compare
1b70d39
to
178e80b
Compare
any news @mcmire ? :) i really need this PR to test |
Yup, so sorry @cprodhomme. I think this is ready to go but I will take another look at this later today. |
178e80b
to
a024f4c
Compare
Add a matcher that can test the new [implicit_order_column][1] class property that is available on ActiveRecord classes in Rails 6. [1]: rails/rails#34480 Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
5b6fc32
to
f82329a
Compare
Thanks for this PR! I took some liberties in bringing this up to current standards and in tweaking the error message a bit. It's in master now. |
Add
have_implicit_order_column
matcher to test rails 6 implicit_order_column