summaryrefslogtreecommitdiff
path: root/spec/services/ci
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-11-27 16:24:43 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-11-27 16:24:43 +0100
commit3761a0c50ea13b86152417a5e659b30879cb16b1 (patch)
treea80d04879630f85a4648614c9ea5af764b253167 /spec/services/ci
parent86e7f22b6d10b9113c52f79685edb332d202f567 (diff)
downloadgitlab-ce-3761a0c50ea13b86152417a5e659b30879cb16b1.tar.gz
Extend pipelines factory with transient config attributefix/create-pipeline-with-builds-in-transaction
Diffstat (limited to 'spec/services/ci')
-rw-r--r--spec/services/ci/process_pipeline_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/ci/process_pipeline_service_spec.rb b/spec/services/ci/process_pipeline_service_spec.rb
index 306943a5488..ebb11166964 100644
--- a/spec/services/ci/process_pipeline_service_spec.rb
+++ b/spec/services/ci/process_pipeline_service_spec.rb
@@ -295,7 +295,7 @@ describe Ci::ProcessPipelineService, services: true do
context 'when there are builds that are not created yet' do
let(:pipeline) do
- create(:ci_pipeline_with_yaml, yaml: config)
+ create(:ci_pipeline, config: config)
end
let(:config) do