##// END OF EJS Templates
Rails3: scm: cvs: fix error of test_destroy_valid_repository at functional test...
Toshi MARUYAMA -
r7050:17163db7746f
parent child
Show More
@@ -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 @repository.reload
221 assert @repository.changesets.count > 0
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