mirror of
https://github.com/redmine/redmine.git
synced 2025-11-13 08:46:01 +01:00
Add "View annotation prior to this change" button in the annotate view of Git (#35432).
Patch by Takenori TAKAKI. git-svn-id: https://svn.redmine.org/redmine/trunk@22217 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -589,9 +589,14 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest
|
||||
|
||||
# Line 23, changeset 2f9c0091
|
||||
assert_select 'tr' do
|
||||
prev_blame, path = '4a79347ea4b7184938d9bbea0fd421a6079f71bb', 'sources/watchers_controller.rb'
|
||||
assert_select 'th.line-num a[data-txt=?]', '23'
|
||||
assert_select 'td.revision', :text => /2f9c0091/
|
||||
assert_select 'td.author', :text => 'jsmith'
|
||||
assert_select 'td.previous' do
|
||||
assert_select 'a.icon-history[href=?]',
|
||||
"/projects/subproject1/repository/#{@repository.id}/revisions/#{prev_blame}/annotate/#{path}"
|
||||
end
|
||||
assert_select 'td', :text => /remove_watcher/
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user