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

Enable rubocop-rspec #1143

Merged
merged 1 commit into from
Jan 9, 2018
Merged

Enable rubocop-rspec #1143

merged 1 commit into from
Jan 9, 2018

Conversation

MatMoore
Copy link
Contributor

@MatMoore MatMoore commented Jan 5, 2018

rubocop-rspec is a dependency of govuk-lint, but it doesn't seem to be used by default.

See https://github.com/backus/rubocop-rspec#usage

Our tests aren't very idiomatic at the moment. Enabling this increases the total number of offenses commited in spec/ from 90 to 1807. I'm not going to attempt to fix those now but enabling this should prompt us to improve any tests we change.

#1107

rubocop-rspec is a dependency of govuk-lint, but it doesn't seem
to be used by default.

Our tests aren't very idiomatic at the moment - this should prompt
us to improve any tests we change.
Copy link
Contributor

@cbaines cbaines left a comment

Choose a reason for hiding this comment

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

👍

@MatMoore MatMoore merged commit c18d189 into master Jan 9, 2018
@MatMoore MatMoore deleted the rspec-lint branch January 9, 2018 14:50
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.

2 participants