@@ -260,7 +260,8 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||||
260 | @repository.reload |
|
260 | @repository.reload | |
261 | [4, '4', 'def6d2f1254a'].each do |r1| |
|
261 | [4, '4', 'def6d2f1254a'].each do |r1| | |
262 | # Full diff of changeset 4 |
|
262 | # Full diff of changeset 4 | |
263 | get :diff, :id => PRJ_ID, :rev => r1 |
|
263 | ['inline', 'sbs'].each do |dt| | |
|
264 | get :diff, :id => PRJ_ID, :rev => r1, :type => dt | |||
264 | assert_response :success |
|
265 | assert_response :success | |
265 | assert_template 'diff' |
|
266 | assert_template 'diff' | |
266 | if @diff_c_support |
|
267 | if @diff_c_support | |
@@ -274,6 +275,7 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||||
274 | end |
|
275 | end | |
275 | end |
|
276 | end | |
276 | end |
|
277 | end | |
|
278 | end | |||
277 |
|
279 | |||
278 | def test_diff_two_revs |
|
280 | def test_diff_two_revs | |
279 | @repository.fetch_changesets |
|
281 | @repository.fetch_changesets |
General Comments 0
You need to be logged in to leave comments.
Login now