mirror of
https://github.com/redmine/redmine.git
synced 2025-11-06 21:35:46 +01:00
Fix code copying in common browsers (#36580).
Patch by Vitaly vit9696. git-svn-id: http://svn.redmine.org/redmine/trunk@21415 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -557,14 +557,14 @@ class RepositoriesSubversionControllerTest < Redmine::RepositoryControllerTest
|
||||
assert_response :success
|
||||
|
||||
assert_select 'tr' do
|
||||
assert_select 'th.line-num', :text => '1'
|
||||
assert_select 'th.line-num a[data-txt=?]', '1'
|
||||
assert_select 'td.revision', :text => '4'
|
||||
assert_select 'td.author', :text => 'jp'
|
||||
assert_select 'td', :text => /stdio.h/
|
||||
end
|
||||
# Same revision
|
||||
assert_select 'tr' do
|
||||
assert_select 'th.line-num', :text => '2'
|
||||
assert_select 'th.line-num a[data-txt=?]', '2'
|
||||
assert_select 'td.revision', :text => ''
|
||||
assert_select 'td.author', :text => ''
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user