Commit 7f775ee2 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'fix-authorized-members-destroy' into 'master'

Fix spec for Members::AuthorizedDestroyService

See merge request !11778
parents 38d95386 bef4879e
......@@ -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