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