]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_principals_...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 18:17:01 +0000 (18:17 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 18:17:01 +0000 (18:17 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19056 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/helpers/application_helper_test.rb

index 026d2ab1a693fef86e91580437bf79f37a133f38..235b7a41a2a4755a1e210f400d868ee8c3ad49a3 100644 (file)
@@ -1717,8 +1717,9 @@ class ApplicationHelperTest < Redmine::HelperTest
   def test_principals_options_for_select_with_selected
     User.current = nil
     users = [User.find(2), User.find(4)]
-    assert_equal %(<option value="2">John Smith</option><option value="4" selected="selected">Robert Hill</option>),
-      principals_options_for_select(users, User.find(4))
+    assert_equal(
+      %(<option value="2">John Smith</option><option value="4" selected="selected">Robert Hill</option>),
+      principals_options_for_select(users, User.find(4)))
   end
 
   def test_principals_options_for_select_with_users_and_groups