Long blocks in tests are normal

Long blocks in tests are normal

From ff7e08bdbe6b5e2a0d55f0b12ee27ace3a21e12d Mon Sep 17 00:00:00 2001
From: Ben Langfeld <blangfeld@powerhrg.com>
Date: Mon, 26 Nov 2018 14:58:37 -0200
Subject: [PATCH] Long blocks in tests are normal


diff --git a/.rubocop.yml b/.rubocop.yml
index a2689b6..603d39b 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -14,3 +14,8 @@ Layout/MultilineMethodCallIndentation:
 
 Bundler/OrderedGems:
   Enabled: false
+
+Metrics/BlockLength:
+  Exclude:
+    - '**/spec_helper.rb'
+    - '**/**_spec.rb'
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index c897241..396400d 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1,6 +1,6 @@
 # This configuration was generated by
 # `rubocop --auto-gen-config`
-# on 2018-11-26 16:57:09 +0000 using RuboCop version 0.60.0.
+# on 2018-11-26 16:58:18 +0000 using RuboCop version 0.60.0.
 # The point is for the user to remove these configuration records
 # one by one as the offenses are removed from the code base.
 # Note that changes in the inspected code, or installation of new
@@ -75,11 +75,11 @@ Lint/StringConversionInInterpolation:
 Metrics/AbcSize:
   Max: 112
 
-# Offense count: 18
+# Offense count: 1
 # Configuration parameters: CountComments, ExcludedMethods.
 # ExcludedMethods: refine
 Metrics/BlockLength:
-  Max: 289
+  Max: 29
 
 # Offense count: 3
 # Configuration parameters: CountBlocks.

GitHub