diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-06 16:09:26 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-06 16:09:26 +0400 |
commit | 42b86b79d0547d8d6f9f3fc8bc3414f7eb4a3964 (patch) | |
tree | d540a8e70183c34f1ed4af26e853e872c9193874 /spec/factories.rb | |
parent | ff346c01fac3eb0c588d493ac4c848340b4ec0c4 (diff) |
Model specs for DeployKeys
Diffstat (limited to 'spec/factories.rb')
-rw-r--r-- | spec/factories.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/spec/factories.rb b/spec/factories.rb index 8f323161990..f9e25382b61 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -158,8 +158,7 @@ FactoryGirl.define do "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=" end - factory :deploy_key do - project + factory :deploy_key, class: 'DeployKey' do end factory :personal_key do @@ -222,4 +221,9 @@ FactoryGirl.define do url service end + + factory :deploy_keys_project do + deploy_key + project + end end |