Commit Graph

68 Commits

Author SHA1 Message Date
Elliot Foster & Yuri Green
fa9a44a659 return request body params in a consistent and usable way 2012-05-16 11:40:24 -07:00
Jarno Rantanen
dd670bc43c Remove the single remaining dependency on the global $ (referenced through jQuery everywhere else). 2012-01-25 11:20:00 +02:00
Hunter Gillane
26e475dfb2 pull jquery and prototype mocks into named functions 2011-08-07 14:20:37 -06:00
Hunter Gillane
9536fe9d02 allow jasmine.Ajax to be installed/uninstalled instead of globally in spec helper 2011-08-07 14:01:38 -06:00
Jay Phillips & Ken Mayer
fefef6c56d FakeXMLHttpRequest now defines its functions on this so it can be extended. e.g.
FakeXMLHttpRequest.prototype.parsedParams = function() {
	  return $.deparam(this.params); // Uses jquery-bbq
	};
2011-03-10 11:48:01 -08:00
Ryan Dy
9286df30e4 support for simulating timeout with responseTimeout 2011-02-21 22:33:11 -08:00
Ryan Dy
0c0f5a51b7 support for jquery 1.5 2011-02-21 22:27:11 -08:00
Davis W. Frank
77415e803c Added license content to the main file. 2010-09-29 14:56:17 -07:00
Austin Putman & Sarah Mei
a4d3881e7e Added readyState changes to FakeXmlHttpRequest.
Took out rogue console.error.
2010-09-28 11:41:50 -07:00
Davis W. Frank, dwfrank
ec1867e944 Only install Prototype.js glue code if Prototype.js is included; Spec Helper will now install either or both mocking code 2010-09-17 10:10:34 -07:00
Davis W. Frank, dwfrank & Hunter Gillane
ace08b274e moved frameworks to a separate directory; made a sample spec helper that installs correct Ajax library. Protoype is GREEN 2010-09-16 17:30:06 -07:00
Davis W. Frank, dwfrank & Hunter Gillane
5833dd806c whoops! removed options into FakeXMLHttpResponse. 2010-09-16 17:09:52 -07:00
Davis W. Frank, dwfrank & Hunter Gillane
83ef1be6e9 Mock Ajax refactor & simplification 2010-09-16 17:07:01 -07:00
Davis W. Frank, dwfrank & Hunter Gillane
cdbe9fe362 jQuery specs are GREEN. 2010-09-16 16:51:52 -07:00
Davis W. Frank, dwfrank & Hunter Gillane
c129ed0675 Starting tests for jQuery version of the Ajax mock. 2010-09-16 15:46:55 -07:00
Davis W. Frank, dwfrank & Hunter Gillane
c011d7542d Mock Ajax tests for Prototype.js cleaned up; small renames of interface to AjaxRequests 2010-09-16 14:49:46 -07:00
Davis W. Frank, dwfrank & Hunter Gillane
e7ca84008c WIP: refactoring #response 2010-09-16 14:24:35 -07:00
Davis W. Frank, dwfrank & Hunter Gillane
754b3f6a62 project re-org for grand refactor 2010-09-16 10:14:39 -07:00