@@ -112,8 +112,10 class RepositoriesCvsControllerTest < ActionController::TestCase | |||||
112 |
|
112 | |||
113 | def test_entry_at_given_revision |
|
113 | def test_entry_at_given_revision | |
114 | # changesets must be loaded |
|
114 | # changesets must be loaded | |
|
115 | assert_equal 0, @repository.changesets.count | |||
115 | @repository.fetch_changesets |
|
116 | @repository.fetch_changesets | |
116 |
@ |
|
117 | @project.reload | |
|
118 | assert_equal NUM_REV, @repository.changesets.count | |||
117 | get :entry, :id => PRJ_ID, :path => ['sources', 'watchers_controller.rb'], :rev => 2 |
|
119 | get :entry, :id => PRJ_ID, :path => ['sources', 'watchers_controller.rb'], :rev => 2 | |
118 | assert_response :success |
|
120 | assert_response :success | |
119 | assert_template 'entry' |
|
121 | assert_template 'entry' |
General Comments 0
You need to be logged in to leave comments.
Login now