paypro: use unspecified GET method for first paypro request.

This commit is contained in:
Christopher Jeffrey 2014-08-11 19:03:45 -04:00 committed by Manuel Araoz
commit efe41cead4
3 changed files with 4 additions and 4 deletions

View file

@ -182,7 +182,7 @@ describe('PayPro (in Wallet) model', function() {
req.headers[key.toLowerCase()] = req.headers[key];
});
server.POST['/-/request'](req, function(err, res, body) {
server.GET['/-/request'](req, function(err, res, body) {
var data = PayPro.PaymentRequest.decode(body);
pr = new PayPro();
pr = pr.makePaymentRequest(data);
@ -431,7 +431,7 @@ describe('PayPro (in Wallet) model', function() {
req.headers[key.toLowerCase()] = req.headers[key];
});
server.POST['/-/request'](req, function(err, res, body) {
server.GET['/-/request'](req, function(err, res, body) {
var data = PayPro.PaymentRequest.decode(body);
pr = new PayPro();
pr = pr.makePaymentRequest(data);