cjohansen/Sinon.JS — Issue #64: server.respondWith function - TypeError
Author: quangv
Created: 2011-12-06 18:10:55+00:00
State: open

I'm getting a TypeError while passing a function to server.respondWith

```
window.server = sinon.fakeServer.create();

server.respondWith(function(){
console.log(arguments);
})

```

>TypeError: Fake server response body should be string, but was function