summaryrefslogtreecommitdiff
path: root/spec/models/incident_management
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-16 21:12:07 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-16 21:12:07 +0000
commit2571f434015308eccb425059ad5e82851521265a (patch)
treea323b0a704a287e8e94d25e2480f321d13bab6cc /spec/models/incident_management
parent8a9790b0db723db32f8dff511ee032e5e8e3b583 (diff)
downloadgitlab-ce-2571f434015308eccb425059ad5e82851521265a.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/incident_management')
-rw-r--r--spec/models/incident_management/issuable_escalation_status_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/incident_management/issuable_escalation_status_spec.rb b/spec/models/incident_management/issuable_escalation_status_spec.rb
index 39d1fb325f5..f87e6e8327a 100644
--- a/spec/models/incident_management/issuable_escalation_status_spec.rb
+++ b/spec/models/incident_management/issuable_escalation_status_spec.rb
@@ -11,6 +11,7 @@ RSpec.describe IncidentManagement::IssuableEscalationStatus do
describe 'associations' do
it { is_expected.to belong_to(:issue) }
+
it do
is_expected.to have_one(:project).through(:issue).inverse_of(:incident_management_issuable_escalation_statuses)
end