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

Ignoring Metrics/BlockLength for specs #6

Merged
merged 2 commits into from
Nov 26, 2019

Conversation

cgalarza
Copy link

Sometimes the do/end block that encompasses the entire spec file gets long and often fails this cop. Generally, we want to encourage having more tests, not less and this can cop can sometimes get in the way.

Sometimes the do/end block that encompasses the entire spec file gets long and often fails this cop. Generally, we want to encourage having more tests, not less and this can cop can sometimes get in the way.
Copy link
Member

@barmintor barmintor left a comment

Choose a reason for hiding this comment

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

I have some mixed feelings - tests also have to be maintained, and need to be legible to make sense of failures - but the incentive to write tests wins out for me. 👍

@cgalarza cgalarza merged commit 3748917 into master Nov 26, 2019
@cgalarza cgalarza deleted the cgalarza-block-length-for-specs branch December 6, 2019 13:41
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