diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 14:10:14 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 14:10:14 +0000 |
commit | 30ce5bfcabbe74fceedf785a7b4983522901644d (patch) | |
tree | 060e14209423a24e50b529b7d629cc2823df4842 /test | |
parent | b0da68b78460cb5794f0947b053554d81bfe74f7 (diff) | |
download | redmine-30ce5bfcabbe74fceedf785a7b4983522901644d.tar.gz redmine-30ce5bfcabbe74fceedf785a7b4983522901644d.zip |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/helpers/application_helper_test.rb | 22 |
1 files changed, 16 insertions, 6 deletions
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', |