scm: fix indents in "commit:xxx" unit test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4692 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-01-11 15:23:42 +00:00
parent e92cd2091c
commit fb51f27b8a
1 changed files with 12 additions and 10 deletions

View File

@ -227,11 +227,12 @@ RAW
def test_redmine_links_git_commit
changeset_link = link_to('abcd',
{
:controller => 'repositories',
:action => 'revision', :id => 'subproject1',
:rev => 'abcd'
},
{
:controller => 'repositories',
:action => 'revision',
:id => 'subproject1',
:rev => 'abcd',
},
:class => 'changeset', :title => 'test commit')
to_test = {
'commit:abcd' => changeset_link,
@ -251,11 +252,12 @@ RAW
# TODO: Bazaar commit id contains mail address, so it contains '@' and '_'.
def test_redmine_links_darcs_commit
changeset_link = link_to('20080308225258-98289-abcd456efg.gz',
{
:controller => 'repositories',
:action => 'revision', :id => 'subproject1',
:rev => '123'
},
{
:controller => 'repositories',
:action => 'revision',
:id => 'subproject1',
:rev => '123',
},
:class => 'changeset', :title => 'test commit')
to_test = {
'commit:20080308225258-98289-abcd456efg.gz' => changeset_link,