Commit e56a47ab19a6d161732a75e19f385b1df4e4821f
1 parent
dae56806
Exists in
master
and in
4 other branches
Dev fixtures: Add sample ssh key to admin
Showing
1 changed file
with
10 additions
and
0 deletions
Show diff stats
db/fixtures/development/001_admin.rb
... | ... | @@ -9,3 +9,13 @@ User.seed(:id, [ |
9 | 9 | admin: true, |
10 | 10 | } |
11 | 11 | ]) |
12 | + | |
13 | + | |
14 | +Key.seed(:id, [ | |
15 | + { | |
16 | + id: 1, | |
17 | + title: "Sample key", | |
18 | + key: "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=", | |
19 | + user_id: 1, | |
20 | + } | |
21 | +]) | ... | ... |