Fix the other missing commit
This commit is contained in:
parent
da0550c221
commit
61d650fed7
1 changed files with 5 additions and 1 deletions
|
@ -1,8 +1,12 @@
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe Ci::SendPipelineNotificationService, services: true do
|
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(:user) { create(:user) }
|
||||||
let(:pipeline) { create(:ci_pipeline, user: user, status: status) }
|
|
||||||
subject{ described_class.new(pipeline) }
|
subject{ described_class.new(pipeline) }
|
||||||
|
|
||||||
describe '#execute' do
|
describe '#execute' do
|
||||||
|
|
Loading…
Reference in a new issue