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
431fc543
Commit
431fc543
authored
Oct 08, 2020
by
Sean Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec file name
parent
152dcfbd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ee/spec/services/incident_management/apply_incident_sla_exceeded_label_service_spec.rb
...agement/apply_incident_sla_exceeded_label_service_spec.rb
+3
-3
No files found.
ee/spec/services/incident_management/apply_incident_sla_e
cx
eeded_label_service_spec.rb
→
ee/spec/services/incident_management/apply_incident_sla_e
xc
eeded_label_service_spec.rb
View file @
431fc543
...
...
@@ -20,16 +20,16 @@ RSpec.describe IncidentManagement::ApplyIncidentSlaExceededLabelService do
end
it
'does not add a label'
do
expect
{
subject
}.
not_to
change
{
incident
.
labels
.
reload
.
count
}
expect
{
subject
}.
not_to
change
{
incident
.
labels
.
reload
.
count
}
end
end
it
'adds a label to the incident'
do
expect
{
subject
}.
to
change
{
incident
.
labels
.
reload
.
count
}
expect
{
subject
}.
to
change
{
incident
.
labels
.
reload
.
count
}
end
it
'adds a note that the label was added'
do
expect
{
subject
}.
to
change
{
incident
.
resource_label_events
.
reload
.
count
}
expect
{
subject
}.
to
change
{
incident
.
resource_label_events
.
reload
.
count
}
event
=
incident
.
resource_label_events
.
first
expect
(
event
.
action
).
to
eq
(
'add'
)
...
...
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