]> git.openstreetmap.org Git - rails.git/commitdiff
Rubocop fixes.
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 29 Nov 2017 16:48:01 +0000 (16:48 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 29 Nov 2017 16:48:01 +0000 (16:48 +0000)
.rubocop_todo.yml
test/models/report_test.rb

index b4104079cb75734dd1f5802d9a4401482fe7e598..d22f0f73ca82fd8a9e579a190ad6b64fb9b771a0 100644 (file)
@@ -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.
index a0de9448c206adcd0a0831a3072102870d8f3df8..2ababa9888d5c881c18ca04cfca9c8bbd14c4e4b 100644 (file)
@@ -5,7 +5,7 @@ class ReportTest < ActiveSupport::TestCase
     report = create(:report)
 
     assert report.valid?
-    report.details = ''
+    report.details = ""
     assert !report.valid?
   end
 end