Tests are fixed now
This commit is contained in:
parent
0a94640e32
commit
e3d7ce2cc4
6 changed files with 19 additions and 23 deletions
|
@ -101,7 +101,7 @@ class ProjectsController < ProjectResourceController
|
|||
return access_denied! unless can?(current_user, :remove_project, project)
|
||||
|
||||
# Delete team first in order to prevent multiple gitolite calls
|
||||
project.truncate_team
|
||||
project.team.truncate
|
||||
|
||||
project.destroy
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue