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