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

Added a cop to enforce assert_includes over assert(collection.includes?(actual)) #9

Merged
merged 1 commit into from Sep 10, 2019

Conversation

abhaynikam
Copy link
Contributor

PR adds cops to enforce the use of assert_includes over assert(collection.includes?(actual))

Ref: https://github.com/rubocop-hq/minitest-style-guide#assert-includes

@koic
Copy link
Member

koic commented Sep 7, 2019

Can you add the changelog entry and resolve conflicting files?

@abhaynikam
Copy link
Contributor Author

@koic Yep. I'll do it today.

@koic koic merged commit f9a379d into rubocop:master Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants