From cb555d98850571398550c5b568818dfe4087eb01 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 1 Jun 2011 06:12:13 +0000 Subject: [PATCH] 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 --- .../repositories_subversion_controller_test.rb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/test/functional/repositories_subversion_controller_test.rb b/test/functional/repositories_subversion_controller_test.rb index 533a2fd83..104b12d18 100644 --- a/test/functional/repositories_subversion_controller_test.rb +++ b/test/functional/repositories_subversion_controller_test.rb @@ -252,11 +252,13 @@ class RepositoriesSubversionControllerTest < ActionController::TestCase def test_revision_diff @repository.fetch_changesets @repository.reload - get :diff, :id => PRJ_ID, :rev => 3 - assert_response :success - assert_template 'diff' - - assert_tag :tag => 'h2', :content => /3/ + ['inline', 'sbs'].each do |dt| + get :diff, :id => PRJ_ID, :rev => 3, :type => dt + assert_response :success + assert_template 'diff' + assert_tag :tag => 'h2', + :content => / 3/ + end end def test_directory_diff -- 2.39.5