@@ -292,6 +292,7 class RepositoriesGitControllerTest < ActionController::TestCase | |||
|
292 | 292 | @repository.fetch_changesets |
|
293 | 293 | @project.reload |
|
294 | 294 | assert_equal NUM_REV, @repository.changesets.count |
|
295 | with_settings :diff_max_lines_displayed => 1000 do | |
|
295 | 296 | # Full diff of changeset 2f9c0091 |
|
296 | 297 | ['inline', 'sbs'].each do |dt| |
|
297 | 298 | get :diff, |
@@ -310,6 +311,7 class RepositoriesGitControllerTest < ActionController::TestCase | |||
|
310 | 311 | assert_tag :tag => 'h2', :content => /2f9c0091/ |
|
311 | 312 | end |
|
312 | 313 | end |
|
314 | end | |
|
313 | 315 | |
|
314 | 316 | def test_diff_truncated |
|
315 | 317 | assert_equal 0, @repository.changesets.count |
General Comments 0
You need to be logged in to leave comments.
Login now