diff options
author | Valery Sizov <valery@gitlab.com> | 2017-05-05 13:41:35 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2017-05-05 15:30:19 +0300 |
commit | 34be1835af2913c86bc468131e6bcbd530daf48d (patch) | |
tree | 67122da950643c4f91791bfb007636c16db774c3 /spec/services/users | |
parent | c4094b7ec4699811f928699ad67c90e1686da6e2 (diff) | |
download | gitlab-ce-34be1835af2913c86bc468131e6bcbd530daf48d.tar.gz |
[Multiple issue assignee] Fix a number of specs
Diffstat (limited to 'spec/services/users')
-rw-r--r-- | spec/services/users/destroy_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/users/destroy_service_spec.rb b/spec/services/users/destroy_service_spec.rb index 8aa900d1a75..de37a61e388 100644 --- a/spec/services/users/destroy_service_spec.rb +++ b/spec/services/users/destroy_service_spec.rb @@ -60,7 +60,7 @@ describe Users::DestroyService, services: true do it 'migrates the issue so that it is "Unassigned"' do migrated_issue = Issue.find_by_id(issue.id) - expect(migrated_issue.assignees).to be_nil + expect(migrated_issue.assignees).to be_empty end end end |