diff options
author | Balasankar "Balu" C <balasankar@gitlab.com> | 2019-05-10 17:09:56 +0300 |
---|---|---|
committer | Balasankar "Balu" C <balasankar@gitlab.com> | 2019-05-10 17:51:12 +0300 |
commit | a4fea21ee78cbd4b257b2f18aa259d46945827dc (patch) | |
tree | 9b0206f4d17883ebbf12c033d507fdcb251ba62b /config/initializers/seed_fu.rb | |
parent | e09b609f0e41879a80e32c1e682f433d5318b89c (diff) |
Add EE fixtures to SeedFu path
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
Diffstat (limited to 'config/initializers/seed_fu.rb')
-rw-r--r-- | config/initializers/seed_fu.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |