Update pipeline_spec.rb

parent 6cb44843
......@@ -1269,7 +1269,6 @@ describe Ci::Pipeline, :mailer do
is_expected.to eq('custom/path')
end
<<<<<<< HEAD
it 'returns default when custom path is nil' do
allow(pipeline.project).to receive(:ci_config_path) { nil }
......@@ -1282,20 +1281,6 @@ describe Ci::Pipeline, :mailer do
is_expected.to eq('.gitlab-ci.yml')
end
=======
it 'returns default when custom path is nil' do
allow(pipeline.project).to receive(:ci_config_path) { nil }
is_expected.to eq('.gitlab-ci.yml')
end
it 'returns default when custom path is empty' do
allow(pipeline.project).to receive(:ci_config_path) { '' }
is_expected.to eq('.gitlab-ci.yml')
end
>>>>>>> upstream/master
end
end
......
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