@@ -336,8 +336,10 class RepositoriesGitControllerTest < ActionController::TestCase | |||
|
336 | 336 | end |
|
337 | 337 | |
|
338 | 338 | def test_annotate_at_given_revision |
|
339 | assert_equal 0, @repository.changesets.count | |
|
339 | 340 | @repository.fetch_changesets |
|
340 |
@ |
|
|
341 | @project.reload | |
|
342 | assert_equal NUM_REV, @repository.changesets.count | |
|
341 | 343 | get :annotate, :id => PRJ_ID, :rev => 'deff7', |
|
342 | 344 | :path => ['sources', 'watchers_controller.rb'] |
|
343 | 345 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now