Commit bef4879e authored by Yorick Peterse's avatar Yorick Peterse

Fix spec for Members::AuthorizedDestroyService

This spec was still assuming that creating a project would not result in
the owner having access to the project.
parent 9dfecec5
......@@ -18,7 +18,7 @@ describe Members::AuthorizedDestroyService, services: true do
member = create :project_member, :invited, project: project
expect { described_class.new(member, member_user).execute }
.to change { Member.count }.from(2).to(1)
.to change { Member.count }.from(3).to(2)
end
it 'destroys invited group member' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment