@@ -159,8 +159,10 class RepositoriesCvsControllerTest < ActionController::TestCase | |||||
159 | end |
|
159 | end | |
160 |
|
160 | |||
161 | def test_diff_new_files |
|
161 | def test_diff_new_files | |
|
162 | assert_equal 0, @repository.changesets.count | |||
162 | @repository.fetch_changesets |
|
163 | @repository.fetch_changesets | |
163 |
@ |
|
164 | @project.reload | |
|
165 | assert_equal NUM_REV, @repository.changesets.count | |||
164 | ['inline', 'sbs'].each do |dt| |
|
166 | ['inline', 'sbs'].each do |dt| | |
165 | get :diff, :id => PRJ_ID, :rev => 1, :type => dt |
|
167 | get :diff, :id => PRJ_ID, :rev => 1, :type => dt | |
166 | assert_response :success |
|
168 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now