summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-11-30 13:28:18 +0100
committerRémy Coutable <remy@rymai.me>2017-11-30 13:28:18 +0100
commitfcadf2aa0924597bfc16b7306e8c36469e912276 (patch)
treed13c72d89bf852c38f6c107bdb970f0b32ab1f97
parent6c97e8be8fd9e7081c3dfdbe6620b640bc062a19 (diff)
downloadgitlab-ce-fcadf2aa0924597bfc16b7306e8c36469e912276.tar.gz
Add a fixture file that uses seed-fu in the test env so that a borken seed-fu is detected40690-rake-dev-setup-is-broken-due-to-the-latest-update-of-seed-fu
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--db/fixtures/test/01_admin.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/db/fixtures/test/01_admin.rb b/db/fixtures/test/01_admin.rb
new file mode 100644
index 00000000000..6f241f6fa4a
--- /dev/null
+++ b/db/fixtures/test/01_admin.rb
@@ -0,0 +1,15 @@
+require './spec/support/sidekiq'
+
+Gitlab::Seeder.quiet do
+ User.seed do |s|
+ s.id = 1
+ s.name = 'Administrator'
+ s.email = 'admin@example.com'
+ s.notification_email = 'admin@example.com'
+ s.username = 'root'
+ s.password = '5iveL!fe'
+ s.admin = true
+ s.projects_limit = 100
+ s.confirmed_at = DateTime.now
+ end
+end