summaryrefslogtreecommitdiff
path: root/spec/factories.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-04-14 07:33:55 +0000
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2015-04-14 07:33:55 +0000
commitc4202554010d0c725eb641a38bc0e73ef3797191 (patch)
tree2879f690967397f4c9e6dfcec12b5e025984d53e /spec/factories.rb
parent4632983c8c7fb7a6b7b61b89a4fbb168adb0a5b3 (diff)
parent273df6a44b5e4d501571bc2cb55dee1e5b57b290 (diff)
downloadgitlab-ce-c4202554010d0c725eb641a38bc0e73ef3797191.tar.gz
Merge branch 'rs-remove-invalid-key-factories' into 'master'
Remove the invalid key factories They're only used once each, and they're easy to build in-place. See merge request !1766
Diffstat (limited to 'spec/factories.rb')
-rw-r--r--spec/factories.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/factories.rb b/spec/factories.rb
index b9bfd3cebb4..a5c335c82bc 100644
--- a/spec/factories.rb
+++ b/spec/factories.rb
@@ -101,12 +101,6 @@ FactoryGirl.define do
user
end
- factory :key_with_a_space_in_the_middle do
- key do
- "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa ++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0="
- end
- end
-
factory :another_key do
key do
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmTillFzNTrrGgwaCKaSj+QCz81E6jBc/s9av0+3b1Hwfxgkqjl4nAK/OD2NjgyrONDTDfR8cRN4eAAy6nY8GLkOyYBDyuc5nTMqs5z3yVuTwf3koGm/YQQCmo91psZ2BgDFTor8SVEE5Mm1D1k3JDMhDFxzzrOtRYFPci9lskTJaBjpqWZ4E9rDTD2q/QZntCqbC3wE9uSemRQB5f8kik7vD/AD8VQXuzKladrZKkzkONCPWsXDspUitjM8HkQdOf0PsYn1CMUC1xKYbCxkg5TkEosIwGv6CoEArUrdu/4+10LVslq494mAvEItywzrluCLCnwELfW+h/m8UHoVhZ"
@@ -115,12 +109,6 @@ FactoryGirl.define do
factory :another_deploy_key, class: 'DeployKey' do
end
end
-
- factory :invalid_key do
- key do
- "ssh-rsa this_is_invalid_key=="
- end
- end
end
factory :email do