@@ -181,8 +181,10 class RepositoriesCvsControllerTest < ActionController::TestCase | |||||
181 | end |
|
181 | end | |
182 |
|
182 | |||
183 | def test_annotate |
|
183 | def test_annotate | |
|
184 | assert_equal 0, @repository.changesets.count | |||
184 | @repository.fetch_changesets |
|
185 | @repository.fetch_changesets | |
185 |
@ |
|
186 | @project.reload | |
|
187 | assert_equal NUM_REV, @repository.changesets.count | |||
186 | get :annotate, :id => PRJ_ID, :path => ['sources', 'watchers_controller.rb'] |
|
188 | get :annotate, :id => PRJ_ID, :path => ['sources', 'watchers_controller.rb'] | |
187 | assert_response :success |
|
189 | assert_response :success | |
188 | assert_template 'annotate' |
|
190 | assert_template 'annotate' |
General Comments 0
You need to be logged in to leave comments.
Login now