Dev fixtures: Add sample ssh key to admin
This commit is contained in:
parent
dae56806df
commit
e56a47ab19
1 changed files with 10 additions and 0 deletions
|
@ -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,
|
||||
}
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue