summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-03 13:34:03 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-03 13:34:03 +0200
commit08baa9983ee586c10b4fa28f68b10ba8e7807125 (patch)
tree4c9fe02b24c3896058ee34bb3157da0cd16f479e /db
parent0a51c954641c99610e9eddd9323398fb00d273e2 (diff)
downloadgitlab-ce-08baa9983ee586c10b4fa28f68b10ba8e7807125.tar.gz
Use pipelines in context of Project
Diffstat (limited to 'db')
-rw-r--r--db/fixtures/development/14_builds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/fixtures/development/14_builds.rb b/db/fixtures/development/14_builds.rb
index b99d24a03c9..51ff451eb4c 100644
--- a/db/fixtures/development/14_builds.rb
+++ b/db/fixtures/development/14_builds.rb
@@ -19,7 +19,7 @@ class Gitlab::Seeder::Builds
commits = @project.repository.commits('master', nil, 5)
commits_sha = commits.map { |commit| commit.raw.id }
commits_sha.map do |sha|
- @project.ensure_ci_commit(sha, 'master')
+ @project.ensure_pipeline(sha, 'master')
end
rescue
[]