@@ -216,9 +216,10 class RepositoriesCvsControllerTest < ActionController::TestCase | |||
|
216 | 216 | |
|
217 | 217 | def test_destroy_valid_repository |
|
218 | 218 | @request.session[:user_id] = 1 # admin |
|
219 | assert_equal 0, @repository.changesets.count | |
|
219 | 220 | @repository.fetch_changesets |
|
220 |
@ |
|
|
221 |
assert @repository.changesets.count |
|
|
221 | @project.reload | |
|
222 | assert_equal NUM_REV, @repository.changesets.count | |
|
222 | 223 | |
|
223 | 224 | get :destroy, :id => PRJ_ID |
|
224 | 225 | assert_response 302 |
General Comments 0
You need to be logged in to leave comments.
Login now