-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
[Bug] Minitest/Assert* having conflicts with Rails/RefuteMethods policy #319
Comments
|
Will it fix others like |
Into what would this correct? I don't believe these methods work with arguments like that. |
Sorry, my bad. No, this will not be handled by that PR. I can look into that once the other PR gets merged. |
Hm, you are right |
|
Bug Description
The rules
Minitest/Assert*
has some conflicts with Rails/RefuteMethods. It has default policy to convertrefute_*
statements toassert_not_*
which causesMinitest/Assert*
to be ignored.Example:
Fix
Make all rules consistent when converting generic
refute
orassert_not
statements torefute_*
orassert_not_*
statements making sure it supports default policy established byRails/RefuteMethods
:The text was updated successfully, but these errors were encountered: