@@ -150,8 +150,10 class RepositoriesSubversionControllerTest < ActionController::TestCase | |||||
150 | end |
|
150 | end | |
151 |
|
151 | |||
152 | def test_entry_should_send_if_too_big |
|
152 | def test_entry_should_send_if_too_big | |
|
153 | assert_equal 0, @repository.changesets.count | |||
153 | @repository.fetch_changesets |
|
154 | @repository.fetch_changesets | |
154 |
@ |
|
155 | @project.reload | |
|
156 | assert_equal NUM_REV, @repository.changesets.count | |||
155 | # no files in the test repo is larger than 1KB... |
|
157 | # no files in the test repo is larger than 1KB... | |
156 | with_settings :file_max_size_displayed => 0 do |
|
158 | with_settings :file_max_size_displayed => 0 do | |
157 | get :entry, :id => PRJ_ID, :path => ['subversion_test', 'helloworld.c'] |
|
159 | get :entry, :id => PRJ_ID, :path => ['subversion_test', 'helloworld.c'] |
General Comments 0
You need to be logged in to leave comments.
Login now