summaryrefslogtreecommitdiff
path: root/spec/services/ci/send_pipeline_notification_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/ci/send_pipeline_notification_service_spec.rb')
-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