summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-06 11:19:54 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-06 11:19:54 +0200
commit9614c52266fd7009c1dd2960564d4f65b1a12f80 (patch)
tree533b513e76361e52237905491a30feaa38acddce /features
parentbf2bd2373d9179616436990b483aec52fcfe0f8e (diff)
downloadgitlab-ce-9614c52266fd7009c1dd2960564d4f65b1a12f80.tar.gz
Fix tests offenses: use `pipeline` of Ci::Build and rename views
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 92d7bed0450..bcb8d0fc507 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
@ci_commit = create(:ci_commit, project: @project, sha: @project.commit.sha, ref: 'master')
- @build = create(:ci_build_with_coverage, commit: @ci_commit)
+ @build = create(:ci_build_with_coverage, pipeline: @ci_commit)
end
step 'recent build is successful' do