Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-27 14:13:18 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-27 14:13:18 +0400
commite56a47ab19a6d161732a75e19f385b1df4e4821f (patch)
tree6e4896c2366ba8f1415923cb5b3bee3ca13f6d88 /db
parentdae56806df563573aa2c5e2be00be57fb12f12d7 (diff)
Dev fixtures: Add sample ssh key to admin
Diffstat (limited to 'db')
-rw-r--r--db/fixtures/development/001_admin.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/fixtures/development/001_admin.rb b/db/fixtures/development/001_admin.rb
index fbe41e4d22d..fa8addbe199 100644
--- a/db/fixtures/development/001_admin.rb
+++ b/db/fixtures/development/001_admin.rb
@@ -9,3 +9,13 @@ User.seed(:id, [
admin: true,
}
])
+
+
+Key.seed(:id, [
+ {
+ id: 1,
+ title: "Sample key",
+ key: "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=",
+ user_id: 1,
+ }
+])