summaryrefslogtreecommitdiff
path: root/spec/services
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-09-14 19:34:24 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-09-14 19:34:24 +0800
commit1404aa8677969a03ed56e8f8350257f317f576d8 (patch)
tree9c6f2170641c0d4485dc6459728267a97fce8a5c /spec/services
parent9d9c2d314c10347da4a0929db429c2c2bc24a64d (diff)
downloadgitlab-ce-1404aa8677969a03ed56e8f8350257f317f576d8.tar.gz
Split notification integration into another branch
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/ci/send_pipeline_notification_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/ci/send_pipeline_notification_service_spec.rb b/spec/services/ci/send_pipeline_notification_service_spec.rb
index ba588ed8ef5..cb53ba8b051 100644
--- a/spec/services/ci/send_pipeline_notification_service_spec.rb
+++ b/spec/services/ci/send_pipeline_notification_service_spec.rb
@@ -9,7 +9,7 @@ describe Ci::SendPipelineNotificationService, services: true do
shared_examples 'sending emails' do
it 'sends an email to pipeline user' do
perform_enqueued_jobs do
- subject.execute
+ subject.execute([user.email])
end
email = ActionMailer::Base.deliveries.last