@@ -263,8 +263,10 class RepositoriesSubversionControllerTest < ActionController::TestCase | |||||
263 | end |
|
263 | end | |
264 |
|
264 | |||
265 | def test_revision_diff |
|
265 | def test_revision_diff | |
|
266 | assert_equal 0, @repository.changesets.count | |||
266 | @repository.fetch_changesets |
|
267 | @repository.fetch_changesets | |
267 |
@ |
|
268 | @project.reload | |
|
269 | assert_equal NUM_REV, @repository.changesets.count | |||
268 | ['inline', 'sbs'].each do |dt| |
|
270 | ['inline', 'sbs'].each do |dt| | |
269 | get :diff, :id => PRJ_ID, :rev => 3, :type => dt |
|
271 | get :diff, :id => PRJ_ID, :rev => 3, :type => dt | |
270 | assert_response :success |
|
272 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now