1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-10-14 17:47:17 +00:00
parent 87e2e3df5b
commit b29ec77bb7
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,6 @@ Layout/CaseIndentation:
- 'lib/redmine/helpers/gantt.rb'
- 'lib/redmine/menu_manager.rb'
- 'lib/redmine/views/builders.rb'
- 'test/test_helper.rb'
# Cop supports --auto-correct.
Layout/ClosingHeredocIndentation:

View File

@ -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