summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 18:17:12 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 18:17:12 +0000
commiteb18ef819f77b2e6ca8bb8620a61b16960ce583d (patch)
tree9cbdfcf3f71a5378eb8f6dbb16a6b738b1590654 /test
parent6ea5d0c3c63835f1019bfbfaee0672f50ed32985 (diff)
downloadredmine-eb18ef819f77b2e6ca8bb8620a61b16960ce583d.tar.gz
redmine-eb18ef819f77b2e6ca8bb8620a61b16960ce583d.zip
cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_principals_options_for_select_with_users_and_groups
git-svn-id: http://svn.redmine.org/redmine/trunk@19057 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/helpers/application_helper_test.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb
index 235b7a41a..072c05102 100644
--- a/test/helpers/application_helper_test.rb
+++ b/test/helpers/application_helper_test.rb
@@ -1726,9 +1726,10 @@ class ApplicationHelperTest < Redmine::HelperTest
User.current = nil
set_language_if_valid 'en'
users = [User.find(2), Group.find(11), User.find(4), Group.find(10)]
- assert_equal %(<option value="2">John Smith</option><option value="4">Robert Hill</option>) +
+ assert_equal(
+ %(<option value="2">John Smith</option><option value="4">Robert Hill</option>) +
%(<optgroup label="Groups"><option value="10">A Team</option><option value="11">B Team</option></optgroup>),
- principals_options_for_select(users)
+ principals_options_for_select(users))
end
def test_principals_options_for_select_with_empty_collection