mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-31 20:59:38 +00:00
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
This commit is contained in:
parent
b0da68b784
commit
30ce5bfcab
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user