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

Explicit config #8001

Merged
merged 2 commits into from May 21, 2020
Merged

Explicit config #8001

merged 2 commits into from May 21, 2020

Conversation

marcandre
Copy link
Contributor

The current :config shared context only takes into account the defaults when a cop_config is defined (See [#7970] & [#7999]). These two specs are modified to state explicitly what is being tested; if instead let(:cop_config) { {} } the specs fail, which can be surprising.

@marcandre marcandre self-assigned this May 21, 2020
@marcandre marcandre merged commit 2e8f013 into rubocop:master May 21, 2020
@marcandre marcandre deleted the explicit_config branch May 21, 2020 00: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.

None yet

1 participant