Commit 641583ee authored by Grzegorz Bizon's avatar Grzegorz Bizon

Resolve conflicts in populate_spec.rb

parent b6b9472a
......@@ -161,15 +161,10 @@ describe Gitlab::Ci::Pipeline::Chain::Populate do
it 'populates pipeline according to used policies' do
step.perform!
<<<<<<< HEAD
let(:pipeline) do
build(:ci_pipeline, ref: 'master', project: project, config: config)
=======
expect(pipeline.stages.size).to eq 1
expect(pipeline.stages.first.builds.size).to eq 1
expect(pipeline.stages.first.builds.first.name).to eq 'rspec'
end
>>>>>>> upstream/master
end
context 'when using only/except build policies' do
......@@ -179,7 +174,7 @@ describe Gitlab::Ci::Pipeline::Chain::Populate do
end
let(:pipeline) do
build(:ci_pipeline, ref: 'master', config: config)
build(:ci_pipeline, ref: 'master', project: project, config: config)
end
it_behaves_like 'a correct pipeline'
......
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