Fix the other missing commit

This commit is contained in:
Lin Jen-Shin 2016-09-23 19:45:48 +08:00
parent da0550c221
commit 61d650fed7
1 changed files with 5 additions and 1 deletions

View File

@ -1,8 +1,12 @@
require 'spec_helper'
describe Ci::SendPipelineNotificationService, services: true do
let(:pipeline) do
create(:ci_pipeline, project: project, sha: project.commit('master').sha)
end
let(:project) { create(:project) }
let(:user) { create(:user) }
let(:pipeline) { create(:ci_pipeline, user: user, status: status) }
subject{ described_class.new(pipeline) }
describe '#execute' do