Commit 7f39287d authored by Brett Walker's avatar Brett Walker

Add missing spec lines from CE version

parent 3e4f3167
...@@ -51,11 +51,15 @@ describe Members::DestroyService do ...@@ -51,11 +51,15 @@ describe Members::DestroyService do
expect(member_user.assigned_open_merge_requests_count).to be(1) expect(member_user.assigned_open_merge_requests_count).to be(1)
expect(member_user.assigned_open_issues_count).to be(1) expect(member_user.assigned_open_issues_count).to be(1)
expect(member_user.todos_pending_count).to be(1)
expect(member_user.todos_done_count).to be(1)
described_class.new(current_user).execute(member, opts) described_class.new(current_user).execute(member, opts)
expect(member_user.assigned_open_merge_requests_count).to be(0) expect(member_user.assigned_open_merge_requests_count).to be(0)
expect(member_user.assigned_open_issues_count).to be(0) expect(member_user.assigned_open_issues_count).to be(0)
expect(member_user.todos_pending_count).to be(0)
expect(member_user.todos_done_count).to be(0)
end end
end end
......
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