Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-07-10 00:09:33 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-07-10 00:09:33 +0300
commit4f288fdc9299a1951232a05593fcfd942c11b61f (patch)
treecb7890c27296e605f5beb64c10ef38e824702559 /spec/services/alert_management
parentf67f18d9492786e635e942beefa63d41f4c35765 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/alert_management')
-rw-r--r--spec/services/alert_management/create_alert_issue_service_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/services/alert_management/create_alert_issue_service_spec.rb b/spec/services/alert_management/create_alert_issue_service_spec.rb
index 195ce383537..a8f2b4ee09c 100644
--- a/spec/services/alert_management/create_alert_issue_service_spec.rb
+++ b/spec/services/alert_management/create_alert_issue_service_spec.rb
@@ -46,6 +46,10 @@ RSpec.describe AlertManagement::CreateAlertIssueService do
expect(alert.reload.issue_id).to eq(created_issue.id)
end
+
+ it 'creates a system note' do
+ expect { execute }.to change { alert.reload.notes.count }.by(1)
+ end
end
shared_examples 'setting an issue attributes' do