Commit 5131f8de authored by Grzegorz Bizon's avatar Grzegorz Bizon

Remove remaining calls to CI yaml in pipeline specs

parent c1cc252b
...@@ -3,11 +3,6 @@ require 'spec_helper' ...@@ -3,11 +3,6 @@ require 'spec_helper'
describe Ci::ProcessPipelineService, services: true do describe Ci::ProcessPipelineService, services: true do
let(:pipeline) { create(:ci_pipeline, ref: 'master') } let(:pipeline) { create(:ci_pipeline, ref: 'master') }
let(:user) { create(:user) } let(:user) { create(:user) }
let(:config) { nil }
before do
allow(pipeline).to receive(:ci_yaml_file).and_return(config)
end
describe '#execute' do describe '#execute' do
context 'start queuing next builds' do context 'start queuing next builds' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment