summaryrefslogtreecommitdiff
path: root/spec/models/user_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-15 03:14:24 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-15 03:14:24 +0000
commitd482517583173924ba7961a2b0e9e07d1b51bb78 (patch)
tree01ef6769846a451c4e3539caa1e32f54dd001157 /spec/models/user_spec.rb
parent9b0b4d9b9484aaeb82de5f24942460c679ae909e (diff)
downloadgitlab-ce-d482517583173924ba7961a2b0e9e07d1b51bb78.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/user_spec.rb')
-rw-r--r--spec/models/user_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index 93bf53a89cc..9a09181e5ec 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -182,6 +182,8 @@ RSpec.describe User, feature_category: :user_profile do
it { is_expected.to have_many(:namespace_commit_emails).class_name('Users::NamespaceCommitEmail') }
it { is_expected.to have_many(:audit_events).with_foreign_key(:author_id).inverse_of(:user) }
it { is_expected.to have_many(:abuse_trust_scores).class_name('Abuse::TrustScore') }
+ it { is_expected.to have_many(:issue_assignment_events).class_name('ResourceEvents::IssueAssignmentEvent') }
+ it { is_expected.to have_many(:merge_request_assignment_events).class_name('ResourceEvents::MergeRequestAssignmentEvent') }
it do
is_expected.to have_many(:alert_assignees).class_name('::AlertManagement::AlertAssignee').inverse_of(:assignee)