Commit 431fc543 authored by Sean Arnold's avatar Sean Arnold

Fix spec file name

parent 152dcfbd
...@@ -20,16 +20,16 @@ RSpec.describe IncidentManagement::ApplyIncidentSlaExceededLabelService do ...@@ -20,16 +20,16 @@ RSpec.describe IncidentManagement::ApplyIncidentSlaExceededLabelService do
end end
it 'does not add a label' do 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
end end
it 'adds a label to the incident' do 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 end
it 'adds a note that the label was added' do 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 event = incident.resource_label_events.first
expect(event.action).to eq('add') expect(event.action).to eq('add')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment