Browse Source

Don't look at minitest files in rspec cop.

Martin Gruner 3 years ago
parent
commit
7e1732e6b9
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .rubocop/default.yml

+ 4 - 0
.rubocop/default.yml

@@ -328,6 +328,10 @@ Lint/UnusedMethodArgument:
 RSpec/NestedGroups:
   Max: 6
 
+RSpec/Rails/AvoidSetupHook:
+  Exclude:
+    - "test/**/*"
+
 Zammad/PreferNegatedIfOverUnless:
   Exclude:
     - 'bin/rspec'