scm: subversion: run both of "inline" and "side by side" diff in functional test_revision_diff test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5981 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-06-01 06:12:13 +00:00
parent 296d70e8aa
commit cb555d9885
1 changed files with 7 additions and 5 deletions

View File

@ -252,11 +252,13 @@ class RepositoriesSubversionControllerTest < ActionController::TestCase
def test_revision_diff def test_revision_diff
@repository.fetch_changesets @repository.fetch_changesets
@repository.reload @repository.reload
get :diff, :id => PRJ_ID, :rev => 3 ['inline', 'sbs'].each do |dt|
assert_response :success get :diff, :id => PRJ_ID, :rev => 3, :type => dt
assert_template 'diff' assert_response :success
assert_template 'diff'
assert_tag :tag => 'h2', :content => /3/ assert_tag :tag => 'h2',
:content => / 3/
end
end end
def test_directory_diff def test_directory_diff