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