summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-08-18 10:28:12 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-08-18 16:31:06 +0200
commit7450fe78000ac32ede0e363373585a846b4f0a0d (patch)
treef9e2c562ca371ebb1b229a513bec0b757e4fc82e /db
parentc3ce005e66832587efd228e355daab0d3d08e7dd (diff)
downloadgitlab-ce-7450fe78000ac32ede0e363373585a846b4f0a0d.tar.gz
Change name of the class that with pipeline seeds
Diffstat (limited to 'db')
-rw-r--r--db/fixtures/development/14_pipelines.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/fixtures/development/14_pipelines.rb b/db/fixtures/development/14_pipelines.rb
index 9a3d54fb56c..36b0d16bfb9 100644
--- a/db/fixtures/development/14_pipelines.rb
+++ b/db/fixtures/development/14_pipelines.rb
@@ -1,4 +1,4 @@
-class Gitlab::Seeder::Builds
+class Gitlab::Seeder::Pipelines
STAGES = %w[build test deploy notify]
BUILDS = [
{ name: 'build:linux', stage: 'build', status: :success },
@@ -148,7 +148,7 @@ end
Gitlab::Seeder.quiet do
Project.all.sample(5).each do |project|
- project_builds = Gitlab::Seeder::Builds.new(project)
+ project_builds = Gitlab::Seeder::Pipelines.new(project)
project_builds.seed!
end
end