From 9f65820336f24c88d5151b568e66dc4d8ebc058d Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 29 Nov 2017 16:48:01 +0000 Subject: [PATCH] Rubocop fixes. --- .rubocop_todo.yml | 2 +- test/models/report_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index b4104079c..d22f0f73c 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -72,7 +72,7 @@ Metrics/AbcSize: # Offense count: 41 # Configuration parameters: CountComments, ExcludedMethods. Metrics/BlockLength: - Max: 240 + Max: 250 # Offense count: 12 # Configuration parameters: CountBlocks. diff --git a/test/models/report_test.rb b/test/models/report_test.rb index a0de9448c..2ababa988 100644 --- a/test/models/report_test.rb +++ b/test/models/report_test.rb @@ -5,7 +5,7 @@ class ReportTest < ActiveSupport::TestCase report = create(:report) assert report.valid? - report.details = '' + report.details = "" assert !report.valid? end end -- 2.39.5