summaryrefslogtreecommitdiff
path: root/spec/models/merge_request_reviewer_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-11-23 18:09:14 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-11-23 18:09:14 +0000
commit84e315459585e3339b964e06236dd3f41e70ba2b (patch)
tree8a0249ec99042a85568faaa16b9bb8848b1d7612 /spec/models/merge_request_reviewer_spec.rb
parent33827e3a534757eead42e6c17460564c49ff1c3a (diff)
downloadgitlab-ce-84e315459585e3339b964e06236dd3f41e70ba2b.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/merge_request_reviewer_spec.rb')
-rw-r--r--spec/models/merge_request_reviewer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/merge_request_reviewer_spec.rb b/spec/models/merge_request_reviewer_spec.rb
index 55199cd96ad..76b44abca54 100644
--- a/spec/models/merge_request_reviewer_spec.rb
+++ b/spec/models/merge_request_reviewer_spec.rb
@@ -9,6 +9,6 @@ RSpec.describe MergeRequestReviewer do
describe 'associations' do
it { is_expected.to belong_to(:merge_request).class_name('MergeRequest') }
- it { is_expected.to belong_to(:reviewer).class_name('User') }
+ it { is_expected.to belong_to(:reviewer).class_name('User').inverse_of(:merge_request_reviewers) }
end
end