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 new Minitest/AssertPathExists and Minitest/RefutePathExists cops #83

Merged
merged 1 commit into from
Jul 2, 2020

Conversation

fatkodima
Copy link
Contributor

https://github.com/rubocop-hq/minitest-style-guide#assert-path-exists

Both cops are almost identical (same as AssertNil and RefuteNil, for example). Is it worth extracting (and complicating a bit) somehow into, say, module?

@fatkodima
Copy link
Contributor Author

Rebased.

config/default.yml Outdated Show resolved Hide resolved
config/default.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@bbatsov bbatsov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fatkodima
Copy link
Contributor Author

Updated links.

@koic
Copy link
Member

koic commented Jul 2, 2020

Is it worth extracting (and complicating a bit) somehow into, say, module?

This is an issue with Minitest RuboCop, but this PR is fine as a first step.

@koic koic merged commit 59bac61 into rubocop:master Jul 2, 2020
@koic
Copy link
Member

koic commented Jul 2, 2020

Thank you!

@fatkodima fatkodima deleted the path-exists-cops branch January 16, 2023 13:06
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.

3 participants