Commit Graph

251 Commits

Author SHA1 Message Date
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
Hunter Gillane
5b5b87daea fixed path to both frameworks in example projects 2010-11-28 16:52:09 -08:00
Hunter Gillane
3ba5e8ea98 no need to parse response 2010-11-28 16:51:43 -08:00
Hunter Gillane
a30ffc6100 added spec runner to prototype project 2010-11-28 16:40:08 -08:00
Hunter Gillane
e1a8e74ccf added spec runner for jquery example, doesn't require jasmine gem 2010-11-28 16:35:26 -08:00
Hunter Gillane
aeb873d480 removed old mock for jquery 2010-10-02 11:13:27 -07:00
Hunter Gillane
6f8fd0d12f deleted unused spec runner from the jquery project 2010-10-02 11:06:33 -07:00
Hunter Gillane
c7272cc144 jquery example green 2010-10-02 10:45:01 -07:00
Hunter Gillane
7ef28b29da removed rvmrc 2010-10-02 10:23:42 -07: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
2d527a5d78 Refactor Prototype example to use the latest mock 2010-09-16 15:09:12 -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
b207cefb1d whoops. forgot some files 2010-09-16 10:15:51 -07:00
Davis W. Frank, dwfrank & Hunter Gillane
754b3f6a62 project re-org for grand refactor 2010-09-16 10:14:39 -07:00
Hunter Gillane
c3f1ed8733 work for unifying mock 2010-09-16 09:58:24 -07:00
Hunter Gillane
c3b9ede8d4 readme 2010-08-23 21:46:47 -07:00
Hunter Gillane
4fd728540e update README for jQuery 2010-08-23 21:45:06 -07:00
Hunter Gillane
8d61d57f6b Added jQuery example. 2010-08-23 21:38:20 -07:00
Carl Jackson
228ac8014f Added MIT license 2010-08-03 13:57:16 -07:00
Carl Jackson
63f3f6c672 added SpecRunner to run specs in browser only 2010-08-03 13:38:26 -07:00
Hunter Gillane
e6f723609f fixed path to test_responses in readme 2010-08-01 13:18:16 -07:00
Hunter Gillane
29915f2ce7 more readme 2010-08-01 13:16:31 -07:00
Hunter Gillane
6b24e6024b rename base url 2010-08-01 12:54:50 -07:00
Hunter Gillane
9df3e1d56d readme 2010-08-01 12:44:03 -07:00
Hunter Gillane
237c9fea98 readme 2010-07-31 19:50:27 -07:00
Hunter Gillane
70d8b80946 removed rate limiting stuff 2010-07-31 19:25:25 -07:00
Hunter Gillane
14878cf975 getting rid of rate limiting hanlder 2010-07-31 19:22:33 -07:00
Hunter Gillane
7554da9ffa onSuccess should get called with an array of Tweet objects 2010-07-31 18:43:10 -07:00
Hunter Gillane
1dbd29eb98 added fail whale callback 2010-07-28 00:14:17 -07:00
Hunter Gillane
70a9d0472f failure and rate limiting specs 2010-07-28 00:08:35 -07:00
Hunter Gillane
6420d9599d cleaning up deleted files 2010-07-27 19:15:18 -07:00
Hunter Gillane
a745c6b5e3 onSuccess behavior 2010-07-27 19:14:30 -07:00
Hunter Gillane
53ae949965 renamed spec and js 2010-07-27 07:49:06 -07:00
Hunter Gillane
04017186e8 moved mock-ajax.js into support directory 2010-07-26 23:40:53 -07:00
Hunter Gillane
b51113d12c added mock Ajax stuff 2010-07-26 23:33:35 -07:00
Hunter Gillane
6cff150e30 skeleton for TwitterAPI spec 2010-07-26 23:33:11 -07:00
Hunter Gillane
b75a4e5d04 TwitterAPI object outline 2010-07-26 23:32:48 -07:00
Hunter Gillane
1fefb02536 basic search and page update 2010-07-26 22:20:18 -07:00
Hunter Gillane
1a3b0687b8 basic index page and form 2010-07-26 20:35:13 -07:00
Hunter Gillane
238b7b3579 added prototype 2010-07-26 20:35:03 -07:00