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