diff options
author | Rémy Coutable <remy@rymai.me> | 2019-03-20 12:33:24 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-03-21 19:33:51 +0300 |
commit | 0750638f805eee7d386df5cfff23413610d4e528 (patch) | |
tree | cf063731828f31cf7c4c197037232b9a017e8fab /spec/finders/merge_requests_finder_spec.rb | |
parent | 9e171a530fe885eca784ed6c5a602ab796a5790c (diff) |
[CE] Reduce differences with EE in users_finder_spec.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/finders/merge_requests_finder_spec.rb')
-rw-r--r-- | spec/finders/merge_requests_finder_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/finders/merge_requests_finder_spec.rb b/spec/finders/merge_requests_finder_spec.rb index 5ddf5c14c83..56136eb84bc 100644 --- a/spec/finders/merge_requests_finder_spec.rb +++ b/spec/finders/merge_requests_finder_spec.rb @@ -34,7 +34,7 @@ describe MergeRequestsFinder do it 'includes all merge requests when user has access exceluding merge requests from projects the user does not have access to' do private_project = allow_gitaly_n_plus_1 { create(:project, :private, group: group) } private_project.add_guest(user) - private_mr = create(:merge_request, :simple, author: user, source_project: private_project, target_project: private_project) + create(:merge_request, :simple, author: user, source_project: private_project, target_project: private_project) params = { group_id: group.id } merge_requests = described_class.new(user, params).execute |