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:
authorLin Jen-Shin <godfat@godfat.org>2016-10-08 10:31:26 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-10-08 10:31:26 +0300
commit720968cc8799f665f4f4392e80bf8dfe88fdd69b (patch)
tree2b1f4eb048ec17a1b218747c06d4d3dea7b065b3 /spec/services/ci
parent355ffec76314c0d5688460e51ff22b604333d0bc (diff)
Fix tests for subject updates
Diffstat (limited to 'spec/services/ci')
-rw-r--r--spec/services/ci/send_pipeline_notification_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/ci/send_pipeline_notification_service_spec.rb b/spec/services/ci/send_pipeline_notification_service_spec.rb
index f6cf1039287..6a32357b72c 100644
--- a/spec/services/ci/send_pipeline_notification_service_spec.rb
+++ b/spec/services/ci/send_pipeline_notification_service_spec.rb
@@ -32,14 +32,14 @@ describe Ci::SendPipelineNotificationService, services: true do
context 'with success pipeline' do
let(:status) { 'success' }
- let(:email_subject) { 'Pipeline succeeded for' }
+ let(:email_subject) { "Pipeline ##{pipeline.id} has succeeded" }
it_behaves_like 'sending emails'
end
context 'with failed pipeline' do
let(:status) { 'failed' }
- let(:email_subject) { 'Pipeline failed for' }
+ let(:email_subject) { "Pipeline ##{pipeline.id} has failed" }
it_behaves_like 'sending emails'
end