summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-02-16 13:13:10 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-02-16 13:13:10 +0100
commit953e590b18289005c69b72575ae6f38161ffa11b (patch)
treed47e5a38ae58163d055f6692112d6a1ac6b073c5 /features
parent658c5f32a3eac2f4a478e84ad767ba000041b461 (diff)
downloadgitlab-ce-953e590b18289005c69b72575ae6f38161ffa11b.tar.gz
Make build clone/retry implementation more robustfix/gb/pipeline-retry-builds-started
Diffstat (limited to 'features')
-rw-r--r--features/steps/shared/builds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/shared/builds.rb b/features/steps/shared/builds.rb
index d008a8a26af..5bc3a1f5ac4 100644
--- a/features/steps/shared/builds.rb
+++ b/features/steps/shared/builds.rb
@@ -11,7 +11,7 @@ module SharedBuilds
step 'project has a recent build' do
@pipeline = create(:ci_empty_pipeline, project: @project, sha: @project.commit.sha, ref: 'master')
- @build = create(:ci_build_with_coverage, pipeline: @pipeline)
+ @build = create(:ci_build, :coverage, pipeline: @pipeline)
end
step 'recent build is successful' do