Add responseHeaders
to andReturn
s options
This commit is contained in:
parent
c3639ab040
commit
ccb0ae7853
@ -466,6 +466,7 @@ getJasmineRequireObj().AjaxRequestStub = function() {
|
||||
this.contentType = options.contentType;
|
||||
this.response = options.response;
|
||||
this.responseText = options.responseText;
|
||||
this.responseHeaders = options.responseHeaders;
|
||||
};
|
||||
|
||||
this.matches = function(fullUrl, data, method) {
|
||||
|
@ -22,6 +22,7 @@ getJasmineRequireObj().AjaxRequestStub = function() {
|
||||
this.contentType = options.contentType;
|
||||
this.response = options.response;
|
||||
this.responseText = options.responseText;
|
||||
this.responseHeaders = options.responseHeaders;
|
||||
};
|
||||
|
||||
this.matches = function(fullUrl, data, method) {
|
||||
|
Loading…
Reference in New Issue
Block a user