diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-09-23 16:43:40 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-09-23 16:43:40 +0300 |
commit | db3fe3109ad716ff83387898024474935228195f (patch) | |
tree | 2360f8deaffea11e13ec440bf466902f7213507d /spec/services | |
parent | 225ab2a7db76862a5517992e029547a0bedfed38 (diff) |
Not sure why I missed this
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/ci/send_pipeline_notification_service_spec.rb | 6 |
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) } |