diff options
author | Mark Fletcher <mark@gitlab.com> | 2017-04-05 16:22:28 +1000 |
---|---|---|
committer | Mark Fletcher <mark@gitlab.com> | 2017-04-05 16:22:28 +1000 |
commit | 4865a7ab92bd74f6376d50be4dd3b2e3937c5841 (patch) | |
tree | 84860e331b7c196b6a117503d072cc0a7d55ca23 /spec/factories/keys.rb | |
parent | ced322c5f6de61c30794140a08fa45b612474850 (diff) | |
download | gitlab-ce-4865a7ab92bd74f6376d50be4dd3b2e3937c5841.tar.gz |
Enable creation of deploy keys with write access via the API
* Documentation was incorrectly advertising the missing param
Diffstat (limited to 'spec/factories/keys.rb')
-rw-r--r-- | spec/factories/keys.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/keys.rb b/spec/factories/keys.rb index dd93b439b2b..4e140102492 100644 --- a/spec/factories/keys.rb +++ b/spec/factories/keys.rb @@ -23,5 +23,9 @@ FactoryGirl.define do factory :another_deploy_key, class: 'DeployKey' do end end + + factory :write_access_key, class: 'DeployKey' do + can_push true + end end end |