summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-06-29 01:56:18 +0000
committerGo MAEDA <maeda@farend.jp>2023-06-29 01:56:18 +0000
commite41551632d7dd97a962c4c23a86b4a30510e07b6 (patch)
tree38c724e6504cecea941f46776b9fcd4c7721d02b /test/test_helper.rb
parent0befc3a23cf37565878629af13f704fc5730d9fb (diff)
downloadredmine-e41551632d7dd97a962c4c23a86b4a30510e07b6.tar.gz
redmine-e41551632d7dd97a962c4c23a86b4a30510e07b6.zip
Fix RuboCop offense Style/ReturnNilInPredicateMethodDefinition (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22264 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb2
1 files changed, 1 insertions, 1 deletions
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?