At first glance, it feels like I could do something like this:

```javascript
spyOn($, 'ajax').andCallFake(function() {
    // mock method here
    // this callback would do some expect.toBe tests
    // and also do $('body').html(markup);?
});
```
I'll look into this some more at some point! Thanks for the tip.