mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-09 17:11:32 +00:00
cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_redmine_links_git_commit
git-svn-id: http://svn.redmine.org/redmine/trunk@19017 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7c95ae9899
commit
26343ea6b2
@ -689,22 +689,21 @@ class ApplicationHelperTest < Redmine::HelperTest
|
||||
def test_redmine_links_git_commit
|
||||
@project = Project.find(3)
|
||||
r = Repository::Git.create!(:project => @project, :url => '/tmp/test/git')
|
||||
|
||||
c = Changeset.create!(:repository => r,
|
||||
c = Changeset.create!(
|
||||
:repository => r,
|
||||
:committed_on => Time.now,
|
||||
:revision => 'abcd',
|
||||
:scmid => 'abcd',
|
||||
:comments => 'test commit')
|
||||
|
||||
changeset_link = link_to('abcd',
|
||||
{
|
||||
{
|
||||
:controller => 'repositories',
|
||||
:action => 'revision',
|
||||
:id => 'subproject1',
|
||||
:repository_id => r.id,
|
||||
:rev => 'abcd',
|
||||
},
|
||||
:class => 'changeset', :title => 'test commit')
|
||||
},
|
||||
:class => 'changeset', :title => 'test commit')
|
||||
to_test = {
|
||||
'commit:abcd' => changeset_link,
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user