@@ -386,8 +386,10 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||
|
386 | 386 | end |
|
387 | 387 | |
|
388 | 388 | def test_annotate_at_given_revision |
|
389 | assert_equal 0, @repository.changesets.count | |
|
389 | 390 | @repository.fetch_changesets |
|
390 |
@ |
|
|
391 | @project.reload | |
|
392 | assert_equal NUM_REV, @repository.changesets.count | |
|
391 | 393 | [2, '400bb8672109', '400', 400].each do |r1| |
|
392 | 394 | get :annotate, :id => PRJ_ID, :rev => r1, |
|
393 | 395 | :path => ['sources', 'watchers_controller.rb'] |
General Comments 0
You need to be logged in to leave comments.
Login now