From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 14:10:14 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_cross_proje... X-Git-Tag: 4.1.0~88 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=30ce5bfcabbe74fceedf785a7b4983522901644d;p=redmine.git cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_cross_project_multiple_repositories_redmine_links git-svn-id: http://svn.redmine.org/redmine/trunk@19015 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 2aa70e804..d658af3f8 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -644,12 +644,22 @@ class ApplicationHelperTest < Redmine::HelperTest hg = Repository::Mercurial.create!(:project_id => 1, :identifier => 'hg1', :url => '/foo/hg') Changeset.create!(:repository => hg, :committed_on => Time.now, :revision => '123', :scmid => 'abcd') - changeset_link = link_to('ecookbook:r2', {:controller => 'repositories', :action => 'revision', :id => 'ecookbook', :repository_id => 10, :rev => 2}, - :class => 'changeset', :title => 'This commit fixes #1, #2 and references #1 & #3') - svn_changeset_link = link_to('ecookbook:svn1|r123', {:controller => 'repositories', :action => 'revision', :id => 'ecookbook', :repository_id => 'svn1', :rev => 123}, - :class => 'changeset', :title => '') - hg_changeset_link = link_to('ecookbook:hg1|abcd', {:controller => 'repositories', :action => 'revision', :id => 'ecookbook', :repository_id => 'hg1', :rev => 'abcd'}, - :class => 'changeset', :title => '') + changeset_link = link_to( + 'ecookbook:r2', + {:controller => 'repositories', :action => 'revision', + :id => 'ecookbook', :repository_id => 10, :rev => 2}, + :class => 'changeset', + :title => 'This commit fixes #1, #2 and references #1 & #3') + svn_changeset_link = link_to( + 'ecookbook:svn1|r123', + {:controller => 'repositories', :action => 'revision', + :id => 'ecookbook', :repository_id => 'svn1', :rev => 123}, + :class => 'changeset', :title => '') + hg_changeset_link = link_to( + 'ecookbook:hg1|abcd', + {:controller => 'repositories', :action => 'revision', + :id => 'ecookbook', :repository_id => 'hg1', :rev => 'abcd'}, + :class => 'changeset', :title => '') source_link = link_to('ecookbook:source:some/file', {:controller => 'repositories', :action => 'entry',