Sha256: ce82d2f046a331f817343a8de9604cb81ea37bd3e8e2e31aca53107470d7793a
Contents?: true
Size: 1.68 KB
Versions: 3
Compression:
Stored size: 1.68 KB
Contents
require 'jd_pay' require 'minitest/autorun' require 'active_support/core_ext/hash/conversions' require 'active_support/builder' require 'webmock/minitest' TEST_RSA_PUBLIC_KEY = <<-EOF -----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCKE5N2xm3NIrXON8Zj19GNtLZ8 xwEQ6uDIyrS3S03UhgBJMkGl4msfq4Xuxv6XUAN7oU1XhV3/xtabr9rXto4Ke3d6 WwNbxwXnK5LSgsQc1BhT5NcXHXpGBdt7P8NMez5qGieOKqHGvT0qvjyYnYA29a8Z 4wzNR7vAVHp36uD5RwIDAQAB -----END PUBLIC KEY----- EOF TEST_RSA_PRIVATE_KEY = <<-EOF -----BEGIN PRIVATE KEY----- MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBALXf6twUqul1TATO +5nA66p2wjnRd+g96IXpfV6Sf8WXxwizGj+L19LQYRBXpZHmRh82prJ48d0FcHbo CiN8pKutnuZrrKYhvORysOc5bVli0hcCn1TfYDoUWJ1UhjUQloqZKWjUz6LV9QY6 bIZ1W4+Hmw6HK1bfFwUq0WzIGkJNAgMBAAECgYBlIFQeev9tP+M86TnMjBB9f/sO 2wGpCIM5slIbO6n/3By3IZ7+pmsitOrDg3h0X22t/V1C7yzMkDGwa+T3Rl7ogwc4 UNVj0ZQorOTx3OEPx3nP1yT3zmJ9djKaHKAmee4XmhQHdqqIuMT2XQaqatBzcsnP +Jnw/WVOsIJIqMeFAQJBAP9yq4hE+UfM/YSXZ5JR33k9RolUUq8S/elmeJIDo/3N 2qDmzLjOr9iEZHxioc8JOxubtZ0BxA+NdfKz4v0BSpkCQQC2RIrAPRj9vOk6GfT9 W1hbJ4GdnzTb+4vp3RDQQ3x9JGXzWFlg8xJT1rNgM8R95Gkxn3KGnYHJQTLlCsIy 2FnVAkAWXolM3pVhxz6wHL4SHx9Ns6L4payz7hrUFIgcaTs0H5G0o2FsEZVuhXFz PwPiaHGHomQOAriTkBSzEzOeaj2JAkEAtYUFefZfETQ2QbrgFgIGuKFboJKRnhOi f8G9oOvU6vx43CS8vqTVN9G2yrRDl+0GJnlZIV9zhe78tMZGKUT2EQJAHQawBKGl XlMe49Fo24yOy5DvKeohobjYqzJAtbqaAH7iIQTpOZx91zUcL/yG4dWS6r+wGO7Z 1RKpupOJLKG3lA== -----END PRIVATE KEY----- EOF JdPay.pri_key = TEST_RSA_PRIVATE_KEY JdPay.des_key = 'ta4E/aspLA3lgFGKmNDNRYU92RkZ4w2t' JdPay.md5_key = 'pvmkZFhudHnwblIxgWsnvFqDHRrVDmfU' JdPay.mch_id = '22294531' JdPay.debug_mode = true JdPay.qr_pri_key = TEST_RSA_PRIVATE_KEY JdPay.qr_des_key = 'ta4E/aspLA3lgFGKmNDNRYU92RkZ4w2t' JdPay.qr_mch_id = '22294531'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jdpay-0.1.3 | test/test_helper.rb |
jdpay-0.1.2 | test/test_helper.rb |
jdpay-0.1.1 | test/test_helper.rb |