whoops! removed options into FakeXMLHttpResponse.

This commit is contained in:
Davis W. Frank, dwfrank & Hunter Gillane 2010-09-16 17:09:52 -07:00
parent 83ef1be6e9
commit 5833dd806c

View File

@ -14,7 +14,7 @@ function clearAjaxRequests() {
} }
// Fake XHR for mocking Ajax Requests & Responses // Fake XHR for mocking Ajax Requests & Responses
function FakeXMLHttpRequest(options) { function FakeXMLHttpRequest() {
var xhr = { var xhr = {
requestHeaders: {}, requestHeaders: {},
@ -58,8 +58,6 @@ function FakeXMLHttpRequest(options) {
} }
}; };
jQuery.extend(xhr, options || {});
return xhr; return xhr;
} }