diff options
author | Rubén Dávila <ruben@gitlab.com> | 2018-02-15 09:50:19 -0500 |
---|---|---|
committer | Rubén Dávila <ruben@gitlab.com> | 2018-02-15 09:50:19 -0500 |
commit | 75fd83245450216b0aeec9993455802764eaf87b (patch) | |
tree | 8892a4c9e970d5a6d3bd767c8788bce93734388a /spec/factories | |
parent | 1bbce21f644809532454101adaa49039711cf86b (diff) | |
download | gitlab-ce-75fd83245450216b0aeec9993455802764eaf87b.tar.gz |
Revert "Merge branch 'rd-43185-revert-sanitize-extra-blank-spaces-used-when-uploading-a-ssh-key' into 'master'"
This reverts commit e607fd796657afd214b8f25201919d3e33b3f35f.
Diffstat (limited to 'spec/factories')
-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 f0c43f3d6f5..23a98a899f1 100644 --- a/spec/factories/keys.rb +++ b/spec/factories/keys.rb @@ -5,6 +5,10 @@ FactoryBot.define do title key { Spec::Support::Helpers::KeyGeneratorHelper.new(1024).generate + ' dummy@gitlab.com' } + factory :key_without_comment do + key { Spec::Support::Helpers::KeyGeneratorHelper.new(1024).generate } + end + factory :deploy_key, class: 'DeployKey' factory :personal_key do |