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

test/helpers/application_helper_test.rb

index d196e1c3ab5a42ba14300c702a4a5775cb654177..dac7997c259159b6724ff32dac75e9a380e9a5c4 100644 (file)
@@ -44,8 +44,9 @@ class ApplicationHelperTest < Redmine::HelperTest
     User.current = User.find_by_login('admin')
 
     @project = Issue.first.project # Used by helper
-    response = link_to_if_authorized('By controller/actionr',
-                                    {:controller => 'issues', :action => 'edit', :id => Issue.first.id})
+    response = link_to_if_authorized(
+                 'By controller/actionr',
+                 {:controller => 'issues', :action => 'edit', :id => Issue.first.id})
     assert_match /href/, response
   end
 
@@ -54,9 +55,9 @@ class ApplicationHelperTest < Redmine::HelperTest
     @project = Project.find('private-child')
     issue = @project.issues.first
     assert !issue.visible?
-
-    response = link_to_if_authorized('Never displayed',
-                                    {:controller => 'issues', :action => 'show', :id => issue})
+    response = link_to_if_authorized(
+                 'Never displayed',
+                 {:controller => 'issues', :action => 'show', :id => issue})
     assert_nil response
   end