@@ -227,11 +227,12 RAW | |||||
227 |
|
227 | |||
228 | def test_redmine_links_git_commit |
|
228 | def test_redmine_links_git_commit | |
229 | changeset_link = link_to('abcd', |
|
229 | changeset_link = link_to('abcd', | |
230 |
|
|
230 | { | |
231 | :controller => 'repositories', |
|
231 | :controller => 'repositories', | |
232 |
:action => 'revision', |
|
232 | :action => 'revision', | |
233 |
|
|
233 | :id => 'subproject1', | |
234 |
|
|
234 | :rev => 'abcd', | |
|
235 | }, | |||
235 | :class => 'changeset', :title => 'test commit') |
|
236 | :class => 'changeset', :title => 'test commit') | |
236 | to_test = { |
|
237 | to_test = { | |
237 | 'commit:abcd' => changeset_link, |
|
238 | 'commit:abcd' => changeset_link, | |
@@ -251,11 +252,12 RAW | |||||
251 | # TODO: Bazaar commit id contains mail address, so it contains '@' and '_'. |
|
252 | # TODO: Bazaar commit id contains mail address, so it contains '@' and '_'. | |
252 | def test_redmine_links_darcs_commit |
|
253 | def test_redmine_links_darcs_commit | |
253 | changeset_link = link_to('20080308225258-98289-abcd456efg.gz', |
|
254 | changeset_link = link_to('20080308225258-98289-abcd456efg.gz', | |
254 |
|
|
255 | { | |
255 | :controller => 'repositories', |
|
256 | :controller => 'repositories', | |
256 |
:action => 'revision', |
|
257 | :action => 'revision', | |
257 |
|
|
258 | :id => 'subproject1', | |
258 |
|
|
259 | :rev => '123', | |
|
260 | }, | |||
259 | :class => 'changeset', :title => 'test commit') |
|
261 | :class => 'changeset', :title => 'test commit') | |
260 | to_test = { |
|
262 | to_test = { | |
261 | 'commit:20080308225258-98289-abcd456efg.gz' => changeset_link, |
|
263 | 'commit:20080308225258-98289-abcd456efg.gz' => changeset_link, |
General Comments 0
You need to be logged in to leave comments.
Login now