Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
802760f5
Commit
802760f5
authored
Jan 17, 2022
by
Sean Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded flakey specs
parent
2d39773e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
20 deletions
+0
-20
ee/spec/services/ee/incident_management/issuable_escalation_statuses/create_service_spec.rb
...ement/issuable_escalation_statuses/create_service_spec.rb
+0
-20
No files found.
ee/spec/services/ee/incident_management/issuable_escalation_statuses/create_service_spec.rb
View file @
802760f5
...
...
@@ -59,26 +59,6 @@ RSpec.describe IncidentManagement::IssuableEscalationStatuses::CreateService do
it_behaves_like
'creates an escalation status for the incident with no policy set'
end
context
'when alert pending escalations exist'
do
let!
(
:first_pending_escalation
)
{
create
(
:incident_management_pending_alert_escalation
,
alert:
alert
)
}
let!
(
:second_pending_escalation
)
{
create
(
:incident_management_pending_alert_escalation
,
alert:
alert
)
}
it
'creates an escalation status with the pending escalation start time'
do
execute
status
=
incident
.
incident_management_issuable_escalation_status
expect
(
status
.
escalations_started_at
).
to
be_like_time
(
second_pending_escalation
.
created_at
)
end
end
context
'when feature flag is disabled'
do
before
do
stub_feature_flags
(
incident_escalations:
false
)
end
it_behaves_like
'creates an escalation status for the incident with no policy set'
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment