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-09-23 16:43:40 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-09-23 16:43:40 +0300
commitdb3fe3109ad716ff83387898024474935228195f (patch)
tree2360f8deaffea11e13ec440bf466902f7213507d /spec/services/ci
parent225ab2a7db76862a5517992e029547a0bedfed38 (diff)
Not sure why I missed this
Diffstat (limited to 'spec/services/ci')
-rw-r--r--spec/services/ci/send_pipeline_notification_service_spec.rb6
1 files changed, 5 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 e7e1c4f297a..f6cf1039287 100644
--- a/spec/services/ci/send_pipeline_notification_service_spec.rb
+++ b/spec/services/ci/send_pipeline_notification_service_spec.rb
@@ -2,7 +2,11 @@ require 'spec_helper'
describe Ci::SendPipelineNotificationService, services: true do
let(:pipeline) do
- create(:ci_pipeline, project: project, sha: project.commit('master').sha)
+ create(:ci_pipeline,
+ project: project,
+ sha: project.commit('master').sha,
+ user: user,
+ status: status)
end
let(:project) { create(:project) }