Reduce CE/EE diff in spec/controllers/projects/project_members_controller_spec.rb

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2018-05-22 17:25:43 +02:00
parent ab36cf05c8
commit 7736b51812
No known key found for this signature in database
GPG key ID: 98DFFD1C0C62B70B

View file

@ -184,7 +184,7 @@ describe Projects::ProjectMembersController do
project.add_master(user) project.add_master(user)
end end
it 'cannot remove himself from the project' do it 'cannot remove themselves from the project' do
delete :leave, namespace_id: project.namespace, delete :leave, namespace_id: project.namespace,
project_id: project project_id: project