diff options
author | Rémy Coutable <remy@rymai.me> | 2017-08-04 19:14:04 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-01-31 18:31:21 +0100 |
commit | a2718ebaffd431b1eec91f3ee467d9632309b5f2 (patch) | |
tree | cb9953a334be6f4e026d1ed35ef57130b731d7e3 /spec/services/merge_requests/update_service_spec.rb | |
parent | 9c34c023808b38303d4988a20f62645c552951e3 (diff) | |
download | gitlab-ce-a2718ebaffd431b1eec91f3ee467d9632309b5f2.tar.gz |
Make user/author use project.creator in most factories
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/services/merge_requests/update_service_spec.rb')
-rw-r--r-- | spec/services/merge_requests/update_service_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/services/merge_requests/update_service_spec.rb b/spec/services/merge_requests/update_service_spec.rb index 2238da2d14d..c31259239ee 100644 --- a/spec/services/merge_requests/update_service_spec.rb +++ b/spec/services/merge_requests/update_service_spec.rb @@ -12,7 +12,8 @@ describe MergeRequests::UpdateService, :mailer do create(:merge_request, :simple, title: 'Old title', description: "FYI #{user2.to_reference}", assignee_id: user3.id, - source_project: project) + source_project: project, + author: create(:user)) end before do |