Add onSend callback support for fixtures
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
Is there a reason that this wasn't added in? It would be really useful for integration testing!
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.