diff options
author | Valery Sizov <valery@gitlab.com> | 2017-05-24 13:25:12 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-12-11 13:49:23 +0300 |
commit | 43442be4e594113913206c0739c031189ce5b70d (patch) | |
tree | 07d049ab20aa624d80d8ae413cbef4c7bb67aa83 /spec/services/members | |
parent | b1aa91fbacda5987cfac7103308eb7bd0589b720 (diff) |
Fix specs after removing assignee_id field
Diffstat (limited to 'spec/services/members')
-rw-r--r-- | spec/services/members/authorized_destroy_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/members/authorized_destroy_service_spec.rb b/spec/services/members/authorized_destroy_service_spec.rb index 2d04d824180..d4ef31c0c74 100644 --- a/spec/services/members/authorized_destroy_service_spec.rb +++ b/spec/services/members/authorized_destroy_service_spec.rb @@ -45,7 +45,7 @@ describe Members::AuthorizedDestroyService do expect { described_class.new(member, member_user).execute } .to change { number_of_assigned_issuables(member_user) }.from(4).to(2) - expect(issue.reload.assignee_id).to be_nil + expect(issue.reload.assignee_ids).to be_empty expect(merge_request.reload.assignee_id).to be_nil end end |