From: Go MAEDA Date: Thu, 29 Jun 2023 01:56:18 +0000 (+0000) Subject: Fix RuboCop offense Style/ReturnNilInPredicateMethodDefinition (#36919). X-Git-Tag: 5.1.0~109 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e41551632d7dd97a962c4c23a86b4a30510e07b6;p=redmine.git Fix RuboCop offense Style/ReturnNilInPredicateMethodDefinition (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@22264 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/test_helper.rb b/test/test_helper.rb index bd073ef74..ed98f24f8 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -126,7 +126,7 @@ class ActiveSupport::TestCase return @test_ldap.bind rescue => e # LDAP is not listening - return nil + return false end def self.convert_installed?