@@ -1,5 +1,7 | |||
|
1 | 1 | <%= link_to(@repository.identifier.present? ? h(@repository.identifier) : 'root', |
|
2 | :action => 'show', :id => @project, :repository_id => @repository.identifier_param, :path => '', :rev => @rev) %> | |
|
2 | :action => 'show', :id => @project, | |
|
3 | :repository_id => @repository.identifier_param, | |
|
4 | :path => nil, :rev => @rev) %> | |
|
3 | 5 | <% |
|
4 | 6 | dirs = path.split('/') |
|
5 | 7 | if 'file' == kind |
@@ -67,6 +67,9 class RepositoriesSubversionControllerTest < ActionController::TestCase | |||
|
67 | 67 | assert_tag 'input', :attributes => {:name => 'rev'} |
|
68 | 68 | assert_tag 'a', :content => 'Statistics' |
|
69 | 69 | assert_tag 'a', :content => 'Atom' |
|
70 | assert_tag :tag => 'a', | |
|
71 | :attributes => {:href => '/projects/subproject1/repository'}, | |
|
72 | :content => 'root' | |
|
70 | 73 | end |
|
71 | 74 | |
|
72 | 75 | def test_show_non_default |
General Comments 0
You need to be logged in to leave comments.
Login now