@@ -306,8 +306,10 class RepositoriesSubversionControllerTest < ActionController::TestCase | |||||
306 | end |
|
306 | end | |
307 |
|
307 | |||
308 | def test_annotate_at_given_revision |
|
308 | def test_annotate_at_given_revision | |
|
309 | assert_equal 0, @repository.changesets.count | |||
309 | @repository.fetch_changesets |
|
310 | @repository.fetch_changesets | |
310 |
@ |
|
311 | @project.reload | |
|
312 | assert_equal NUM_REV, @repository.changesets.count | |||
311 | get :annotate, :id => PRJ_ID, :rev => 8, :path => ['subversion_test', 'helloworld.c'] |
|
313 | get :annotate, :id => PRJ_ID, :rev => 8, :path => ['subversion_test', 'helloworld.c'] | |
312 | assert_response :success |
|
314 | assert_response :success | |
313 | assert_template 'annotate' |
|
315 | assert_template 'annotate' |
General Comments 0
You need to be logged in to leave comments.
Login now