diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-04-09 23:32:21 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-04-09 23:32:21 +0300 |
commit | 0ec86af85e49891a72f4956df6e0505efbed6f27 (patch) | |
tree | c15de799f29d430d3df70d67980cb0e61ee96fb8 /spec | |
parent | 948a4ee666eb6f664f1207b160ae42282f37f91a (diff) | |
parent | f9b4d5efbde0bf3b6b1822177d47199ad2f02fbd (diff) |
Merge branch '60305-fix-mr-assignee-for-mr-push-options' into 'master'
Fix MR assignees for push options
Closes #60305
See merge request gitlab-org/gitlab-ce!27186
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/merge_requests/push_options_handler_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/merge_requests/push_options_handler_service_spec.rb b/spec/services/merge_requests/push_options_handler_service_spec.rb index 686b4b49f24..f7a39bb42d5 100644 --- a/spec/services/merge_requests/push_options_handler_service_spec.rb +++ b/spec/services/merge_requests/push_options_handler_service_spec.rb @@ -38,7 +38,7 @@ describe MergeRequests::PushOptionsHandlerService do it 'assigns the MR to the user' do service.execute - expect(last_mr.assignee).to eq(user) + expect(last_mr.assignees).to contain_exactly(user) end context 'when project has been forked' do |