ic-ajax icon indicating copy to clipboard operation
ic-ajax copied to clipboard

Add onSend callback support for fixtures

Open calderas opened this issue 11 years ago • 2 comments

This is helpful to inspect xhr requests when doing integration tests but you don't have access to the actual request object directly.

I've done something similar with sinon.js using filters and inspecting the onCreate/onSend callbacks but this is a much cleaner implementation.

JS Bin: http://emberjs.jsbin.com/ricome/3/edit

calderas avatar Nov 14 '14 19:11 calderas

Is there a reason that this wasn't added in? It would be really useful for integration testing!

alexlafroscia avatar Apr 07 '15 21:04 alexlafroscia

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Oct 03 '19 12:10 CLAassistant