mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 11:25:55 +01:00
Makes changes link to entries on the revision view.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1552 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -102,8 +102,13 @@ class RepositoriesSubversionControllerTest < Test::Unit::TestCase
|
||||
assert_response :success
|
||||
assert_template 'revision'
|
||||
assert_tag :tag => 'tr',
|
||||
:child => { :tag => 'td', :content => %r{/test/some/path/in/the/repo} },
|
||||
:child => { :tag => 'td',
|
||||
# link to the entry at rev 2
|
||||
:child => { :tag => 'a', :attributes => {:href => 'repositories/entry/ecookbook/test/some/path/in/the/repo?rev=2'},
|
||||
:content => %r{/test/some/path/in/the/repo} }
|
||||
},
|
||||
:child => { :tag => 'td',
|
||||
# link to partial diff
|
||||
:child => { :tag => 'a', :attributes => { :href => '/repositories/diff/ecookbook/test/some/path/in/the/repo?rev=2' } }
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user