Not sure why I missed this

This commit is contained in:
Lin Jen-Shin 2016-09-23 21:43:40 +08:00
parent 225ab2a7db
commit db3fe3109a
1 changed files with 5 additions and 1 deletions

View File

@ -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) }