diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-27 12:13:18 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-27 12:13:18 +0200 |
commit | e56a47ab19a6d161732a75e19f385b1df4e4821f (patch) | |
tree | 6e4896c2366ba8f1415923cb5b3bee3ca13f6d88 /db/fixtures | |
parent | dae56806df563573aa2c5e2be00be57fb12f12d7 (diff) | |
download | gitlab-ce-e56a47ab19a6d161732a75e19f385b1df4e4821f.tar.gz |
Dev fixtures: Add sample ssh key to admin
Diffstat (limited to 'db/fixtures')
-rw-r--r-- | db/fixtures/development/001_admin.rb | 10 |
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, + } +]) |