From: Andy Allan Date: Wed, 29 Nov 2017 16:48:01 +0000 (+0000) Subject: Rubocop fixes. X-Git-Tag: live~3562^2~82 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/9f65820336f24c88d5151b568e66dc4d8ebc058d Rubocop fixes. --- 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