@@ -162,8 +162,9 class RepositoriesBazaarControllerTest < ActionController::TestCase | |||
|
162 | 162 | |
|
163 | 163 | def test_destroy_invalid_repository |
|
164 | 164 | @request.session[:user_id] = 1 # admin |
|
165 | assert_equal 0, @repository.changesets.count | |
|
165 | 166 | @repository.fetch_changesets |
|
166 |
@ |
|
|
167 | @project.reload | |
|
167 | 168 | assert @repository.changesets.count > 0 |
|
168 | 169 | |
|
169 | 170 | get :destroy, :id => PRJ_ID |
General Comments 0
You need to be logged in to leave comments.
Login now