Add responseHeaders to andReturn s options

This commit is contained in:
Tomek Wytrebowicz 2015-02-16 17:26:22 +01:00
parent c3639ab040
commit ccb0ae7853
2 changed files with 2 additions and 0 deletions

View File

@ -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) {

View File

@ -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) {