scm: add compatible functional test fof changing diff revisions label at SCM adapter level.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4665 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -198,6 +198,8 @@ class RepositoriesSubversionControllerTest < ActionController::TestCase
|
||||
get :diff, :id => 1, :rev => 3
|
||||
assert_response :success
|
||||
assert_template 'diff'
|
||||
|
||||
assert_tag :tag => 'h2', :content => /3/
|
||||
end
|
||||
|
||||
def test_directory_diff
|
||||
@@ -209,6 +211,8 @@ class RepositoriesSubversionControllerTest < ActionController::TestCase
|
||||
assert_not_nil diff
|
||||
# 2 files modified
|
||||
assert_equal 2, Redmine::UnifiedDiff.new(diff).size
|
||||
|
||||
assert_tag :tag => 'h2', :content => /2:6/
|
||||
end
|
||||
|
||||
def test_annotate
|
||||
|
||||
Reference in New Issue
Block a user