summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-14 17:47:17 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-14 17:47:17 +0000
commitb29ec77bb7dc43890018740384f6c85e79015baa (patch)
tree1bd160e2732b2ebb1bfecce89c799f03f74fc6bd /test/test_helper.rb
parent87e2e3df5b3ff2f0112c6eb01bc04221dde5232e (diff)
downloadredmine-b29ec77bb7dc43890018740384f6c85e79015baa.tar.gz
redmine-b29ec77bb7dc43890018740384f6c85e79015baa.zip
code cleanup: rubocop: fix Layout/CaseIndentation in test/test_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18662 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 390d09518..e27334ca4 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -87,7 +87,8 @@ class ActiveSupport::TestCase
def with_settings(options, &block)
saved_settings = options.keys.inject({}) do |h, k|
- h[k] = case Setting[k]
+ h[k] =
+ case Setting[k]
when Symbol, false, true, nil
Setting[k]
else