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:
parent
e92cd2091c
commit
fb51f27b8a
|
@ -227,11 +227,12 @@ RAW
|
||||||
|
|
||||||
def test_redmine_links_git_commit
|
def test_redmine_links_git_commit
|
||||||
changeset_link = link_to('abcd',
|
changeset_link = link_to('abcd',
|
||||||
{
|
{
|
||||||
:controller => 'repositories',
|
:controller => 'repositories',
|
||||||
:action => 'revision', :id => 'subproject1',
|
:action => 'revision',
|
||||||
:rev => 'abcd'
|
:id => 'subproject1',
|
||||||
},
|
:rev => 'abcd',
|
||||||
|
},
|
||||||
:class => 'changeset', :title => 'test commit')
|
:class => 'changeset', :title => 'test commit')
|
||||||
to_test = {
|
to_test = {
|
||||||
'commit:abcd' => changeset_link,
|
'commit:abcd' => changeset_link,
|
||||||
|
@ -251,11 +252,12 @@ RAW
|
||||||
# TODO: Bazaar commit id contains mail address, so it contains '@' and '_'.
|
# TODO: Bazaar commit id contains mail address, so it contains '@' and '_'.
|
||||||
def test_redmine_links_darcs_commit
|
def test_redmine_links_darcs_commit
|
||||||
changeset_link = link_to('20080308225258-98289-abcd456efg.gz',
|
changeset_link = link_to('20080308225258-98289-abcd456efg.gz',
|
||||||
{
|
{
|
||||||
:controller => 'repositories',
|
:controller => 'repositories',
|
||||||
:action => 'revision', :id => 'subproject1',
|
:action => 'revision',
|
||||||
:rev => '123'
|
:id => 'subproject1',
|
||||||
},
|
:rev => '123',
|
||||||
|
},
|
||||||
:class => 'changeset', :title => 'test commit')
|
:class => 'changeset', :title => 'test commit')
|
||||||
to_test = {
|
to_test = {
|
||||||
'commit:20080308225258-98289-abcd456efg.gz' => changeset_link,
|
'commit:20080308225258-98289-abcd456efg.gz' => changeset_link,
|
||||||
|
|
Loading…
Reference in New Issue