I use Stripe in an Ember app. Stripe makes request to this address : http://ift.tt/1Qtzx9d... In my acceptance test, I have this message : Pretender intercepted GET http://ift.tt/1Qtzx9d... but no handler was defined for this type of request.
I tried to stub this request like this :
var server = new Pretender(function() {
this.get("/api/outer/manhattan", function() {
return [200, {}, this.passthrough];
});
});
But it does not work. I also tried with the full url or with a wildcard without success.
Is there a solution ?
Aucun commentaire:
Enregistrer un commentaire