diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-02 15:10:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-02 15:10:15 +0300 |
commit | bdf5d637dab13620c56063c628274746182196ad (patch) | |
tree | ac85f7fd0a998f0edd373adebf5a71f8714e9c2b /spec/serializers/user_serializer_spec.rb | |
parent | 0c178b535cda98a248e136ba5128f0d903edb17d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/serializers/user_serializer_spec.rb')
-rw-r--r-- | spec/serializers/user_serializer_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/serializers/user_serializer_spec.rb b/spec/serializers/user_serializer_spec.rb index d54f33b6a23..f2ef1508098 100644 --- a/spec/serializers/user_serializer_spec.rb +++ b/spec/serializers/user_serializer_spec.rb @@ -9,7 +9,7 @@ RSpec.describe UserSerializer do context 'serializer with merge request context' do let(:merge_request) { create(:merge_request) } let(:project) { merge_request.project } - let(:serializer) { described_class.new(merge_request_iid: merge_request.iid) } + let(:serializer) { described_class.new(current_user: user1, merge_request_iid: merge_request.iid) } before do allow(project).to( |