@@ -277,8 +277,10 class RepositoriesSubversionControllerTest < ActionController::TestCase | |||||
277 | end |
|
277 | end | |
278 |
|
278 | |||
279 | def test_directory_diff |
|
279 | def test_directory_diff | |
|
280 | assert_equal 0, @repository.changesets.count | |||
280 | @repository.fetch_changesets |
|
281 | @repository.fetch_changesets | |
281 |
@ |
|
282 | @project.reload | |
|
283 | assert_equal NUM_REV, @repository.changesets.count | |||
282 | ['inline', 'sbs'].each do |dt| |
|
284 | ['inline', 'sbs'].each do |dt| | |
283 | get :diff, :id => PRJ_ID, :rev => 6, :rev_to => 2, |
|
285 | get :diff, :id => PRJ_ID, :rev => 6, :rev_to => 2, | |
284 | :path => ['subversion_test', 'folder'], :type => dt |
|
286 | :path => ['subversion_test', 'folder'], :type => dt |
General Comments 0
You need to be logged in to leave comments.
Login now