 {PgpKeyRing} = require '../../lib/keyring'
 
 data = {
-  msg : """-----BEGIN PGP MESSAGE-----
+  msgs : [
+    """-----BEGIN PGP MESSAGE-----
 Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
 Comment: GPGTools - http://gpgtools.org
 

WYxrooYFv+qVvVMS
=euQN
-----END PGP MESSAGE-----""",
  keys : {
    decryption: {
      passphrase : "catsdogs",


#===============================================================

exports.process_msg_0 = (T,cb) ->
  [err,msg] = armor.decode data.msgs[0]
  T.no_error err
  T.equal msg.type, C.openpgp.message_types.generic, "Got a generic message type"
  proc = new Message ring
