##// END OF EJS Templates
Rails3: scm: git: fix error of test_destroy_invalid_repository at functional test...
Toshi MARUYAMA -
r7026:5bf47d1eb83d
parent child
Show More
@@ -413,9 +413,10 class RepositoriesGitControllerTest < ActionController::TestCase
413 413
414 414 def test_destroy_invalid_repository
415 415 @request.session[:user_id] = 1 # admin
416 assert_equal 0, @repository.changesets.count
416 417 @repository.fetch_changesets
417 @repository.reload
418 assert @repository.changesets.count > 0
418 @project.reload
419 assert_equal NUM_REV, @repository.changesets.count
419 420
420 421 get :destroy, :id => PRJ_ID
421 422 assert_response 302
General Comments 0
You need to be logged in to leave comments. Login now