Skip to content
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

Merged

Conversation

yaorlov
Copy link
Contributor

@yaorlov yaorlov commented Sep 13, 2019

Add have_implicit_order_column matcher to test rails 6 implicit_order_column

@yaorlov yaorlov force-pushed the feature/have_implicit_order_column branch from 4d601c4 to ea7261f Compare September 13, 2019 18:23
Copy link
Collaborator

@mcmire mcmire left a 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.

Appraisals Outdated Show resolved Hide resolved
spec/support/acceptance/helpers/step_helpers.rb Outdated Show resolved Hide resolved
@yaorlov yaorlov force-pushed the feature/have_implicit_order_column branch 2 times, most recently from 6e58ca7 to 1b70d39 Compare December 10, 2019 12:11
@yaorlov yaorlov force-pushed the feature/have_implicit_order_column branch from 1b70d39 to 178e80b Compare January 31, 2020 20:35
@cprodhomme
Copy link

any news @mcmire ? :)

i really need this PR to test implicit_order_column 😃

@mcmire mcmire self-assigned this Mar 9, 2020
@mcmire
Copy link
Collaborator

mcmire commented Mar 9, 2020

Yup, so sorry @cprodhomme. I think this is ready to go but I will take another look at this later today.

@mcmire mcmire force-pushed the feature/have_implicit_order_column branch from 178e80b to a024f4c Compare July 12, 2020 06:14
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>
@mcmire mcmire force-pushed the feature/have_implicit_order_column branch from 5b6fc32 to f82329a Compare July 12, 2020 06:51
@mcmire mcmire merged commit f82329a into thoughtbot:master Jul 12, 2020
@mcmire
Copy link
Collaborator

mcmire commented Jul 12, 2020

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.

@mcmire mcmire mentioned this pull request Jul 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants