@@ -375,8 +375,10 class RepositoriesGitControllerTest < ActionController::TestCase | |||
|
375 | 375 | end |
|
376 | 376 | |
|
377 | 377 | def test_revision |
|
378 | assert_equal 0, @repository.changesets.count | |
|
378 | 379 | @repository.fetch_changesets |
|
379 |
@ |
|
|
380 | @project.reload | |
|
381 | assert_equal NUM_REV, @repository.changesets.count | |
|
380 | 382 | ['61b685fbe55ab05b5ac68402d5720c1a6ac973d1', '61b685f'].each do |r| |
|
381 | 383 | get :revision, :id => PRJ_ID, :rev => r |
|
382 | 384 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now