diff options
author | jessib <jessib@riseup.net> | 2013-12-02 10:17:19 -0800 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-12-02 10:17:19 -0800 |
commit | 8de6f143e53af5287b41913dcf3c7969f452fbc9 (patch) | |
tree | 6a311eb5cf4c20fa2053022ca9a45a92f0502f87 /users/test/factories.rb | |
parent | b75f8781bb55557f13a9a4ae48fc45e5d6f1ee86 (diff) | |
parent | dade6497424a869db5f1dfb030f88f4711278b81 (diff) |
Merge pull request #118 from azul/feature/validate-pgp-keys
Feature/validate pgp keys
Diffstat (limited to 'users/test/factories.rb')
-rw-r--r-- | users/test/factories.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/users/test/factories.rb b/users/test/factories.rb index f5fb77d..ae00d43 100644 --- a/users/test/factories.rb +++ b/users/test/factories.rb @@ -23,4 +23,12 @@ FactoryGirl.define do user end + factory :pgp_key do + keyblock <<-EOPGP +-----BEGIN PGP PUBLIC KEY BLOCK----- ++Dummy+PGP+KEY+++Dummy+PGP+KEY+++Dummy+PGP+KEY+++Dummy+PGP+KEY+ +#{SecureRandom.base64(4032)} +-----END PGP PUBLIC KEY BLOCK----- + EOPGP + end end |