Commit Graph

14 Commits

Author SHA1 Message Date
slackersoft
c2a02dbdf6 Rework jasmine ajax to behave more like the jasmine clock and spys
- use an instance of MockAjax for nicer tests
- the only global install is `mockAjax`
- mockAjax has a `requests` to track requests that have been made
- mockAjax has a `stubs` to track stubs that have been registered
- use just `install` and `uninstall` to be consistent with clock
2013-10-11 22:16:22 -07:00
JR Boyens
5da18cc238 Remove specific library support and move to supporting XMLHttpRequest 2013-01-08 23:47:56 -08: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
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
c129ed0675 Starting tests for jQuery version of the Ajax mock. 2010-09-16 15:46:55 -07:00
Davis W. Frank, dwfrank & Hunter Gillane
e7ca84008c WIP: refactoring #response 2010-09-16 14:24:35 -07:00
Hunter Gillane
8d61d57f6b Added jQuery example. 2010-08-23 21:38:20 -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
a745c6b5e3 onSuccess behavior 2010-07-27 19:14:30 -07:00
Hunter Gillane
04017186e8 moved mock-ajax.js into support directory 2010-07-26 23:40:53 -07:00
Hunter Gillane
751256aa59 added jasmine 2010-07-26 20:27:38 -07:00