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

Exclude all spec directories again on Metrics/BlockLength cop #49

Merged
merged 1 commit into from
Dec 27, 2017

Conversation

onk
Copy link
Owner

@onk onk commented Dec 27, 2017

Several files are detected such as spec_helper, factories and
shared_examples.

spec/rails_helper.rb:58:1: C: : Block has too many lines. [46/25]
RSpec.configure do |config| ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^
spec/factories/users.rb:1:1: C: Metrics/BlockLength: Block has too many lines. [28/25]
FactoryBot.define do ...
^^^^^^^^^^^^^^^^^^^^

Several files are detected such as spec_helper, factories and
shared_examples.

```
spec/rails_helper.rb:58:1: C: : Block has too many lines. [46/25]
RSpec.configure do |config| ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^
```

```
spec/factories/users.rb:1:1: C: Metrics/BlockLength: Block has too many lines. [28/25]
FactoryBot.define do ...
^^^^^^^^^^^^^^^^^^^^
```
@onk onk merged commit 974ee98 into master Dec 27, 2017
@onk onk deleted the exclude_spec_directory_again branch December 27, 2017 16:14
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.

1 participant