mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
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
This commit is contained in:
parent
6ea5d0c3c6
commit
eb18ef819f
@ -1726,9 +1726,10 @@ class ApplicationHelperTest < Redmine::HelperTest
|
|||||||
User.current = nil
|
User.current = nil
|
||||||
set_language_if_valid 'en'
|
set_language_if_valid 'en'
|
||||||
users = [User.find(2), Group.find(11), User.find(4), Group.find(10)]
|
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>),
|
%(<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
|
end
|
||||||
|
|
||||||
def test_principals_options_for_select_with_empty_collection
|
def test_principals_options_for_select_with_empty_collection
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user