summaryrefslogtreecommitdiff
path: root/db/fixtures
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-12-05 14:39:15 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-12-05 14:39:15 +0000
commita6778fc647d83c8fbdca69e1bb2d38b490853ba8 (patch)
tree93d1d2bc4c5bd85e5255b9cfdf29a88ca9af127f /db/fixtures
parent107ff10eb68aa8715b8bfc5a8ae13bf2f4453355 (diff)
downloadgitlab-ce-a6778fc647d83c8fbdca69e1bb2d38b490853ba8.tar.gz
Rename project's pipelines relation
Diffstat (limited to 'db/fixtures')
-rw-r--r--db/fixtures/development/14_pipelines.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/fixtures/development/14_pipelines.rb b/db/fixtures/development/14_pipelines.rb
index 5af77c49913..bdc0a2db7db 100644
--- a/db/fixtures/development/14_pipelines.rb
+++ b/db/fixtures/development/14_pipelines.rb
@@ -104,7 +104,7 @@ class Gitlab::Seeder::Pipelines
def create_pipeline!(project, ref, commit)
- project.pipelines.create!(sha: commit.id, ref: ref, source: :push)
+ project.ci_pipelines.create!(sha: commit.id, ref: ref, source: :push)
end
def build_create!(pipeline, opts = {})