summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalasankar "Balu" C <balasankar@gitlab.com>2019-05-10 19:39:56 +0530
committerBalasankar "Balu" C <balasankar@gitlab.com>2019-05-10 20:21:12 +0530
commita4fea21ee78cbd4b257b2f18aa259d46945827dc (patch)
tree9b0206f4d17883ebbf12c033d507fdcb251ba62b
parente09b609f0e41879a80e32c1e682f433d5318b89c (diff)
downloadgitlab-ce-a4fea21ee78cbd4b257b2f18aa259d46945827dc.tar.gz
Add EE fixtures to SeedFu pathinclude-ee-fixtures
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
-rw-r--r--changelogs/unreleased/include-ee-fixtures.yml5
-rw-r--r--config/initializers/seed_fu.rb4
2 files changed, 9 insertions, 0 deletions
diff --git a/changelogs/unreleased/include-ee-fixtures.yml b/changelogs/unreleased/include-ee-fixtures.yml
new file mode 100644
index 00000000000..ba500d92de3
--- /dev/null
+++ b/changelogs/unreleased/include-ee-fixtures.yml
@@ -0,0 +1,5 @@
+---
+title: Add EE fixtures to SeedFu list
+merge_request: 28241
+author:
+type: other
diff --git a/config/initializers/seed_fu.rb b/config/initializers/seed_fu.rb
new file mode 100644
index 00000000000..2e48e41a311
--- /dev/null
+++ b/config/initializers/seed_fu.rb
@@ -0,0 +1,4 @@
+# frozen_string_literal: true
+if Gitlab.ee?
+ SeedFu.fixture_paths += %W[ee/db/fixtures ee/db/fixtures/#{Rails.env}]
+end