scm: mercurial: run both of "inline" and "side by side" diff in functional test_diff test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5983 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-06-01 07:45:48 +00:00
parent c361ef5a5f
commit bc8b1c0b22
1 changed files with 13 additions and 11 deletions

View File

@ -260,7 +260,8 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase
@repository.reload
[4, '4', 'def6d2f1254a'].each do |r1|
# Full diff of changeset 4
get :diff, :id => PRJ_ID, :rev => r1
['inline', 'sbs'].each do |dt|
get :diff, :id => PRJ_ID, :rev => r1, :type => dt
assert_response :success
assert_template 'diff'
if @diff_c_support
@ -274,6 +275,7 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase
end
end
end
end
def test_diff_two_revs
@repository.fetch_changesets