@@ -137,8 +137,10 class RepositoriesCvsControllerTest < ActionController::TestCase | |||||
137 | end |
|
137 | end | |
138 |
|
138 | |||
139 | def test_entry_download |
|
139 | def test_entry_download | |
|
140 | assert_equal 0, @repository.changesets.count | |||
140 | @repository.fetch_changesets |
|
141 | @repository.fetch_changesets | |
141 |
@ |
|
142 | @project.reload | |
|
143 | assert_equal NUM_REV, @repository.changesets.count | |||
142 | get :entry, :id => PRJ_ID, :path => ['sources', 'watchers_controller.rb'], |
|
144 | get :entry, :id => PRJ_ID, :path => ['sources', 'watchers_controller.rb'], | |
143 | :format => 'raw' |
|
145 | :format => 'raw' | |
144 | assert_response :success |
|
146 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now