Commit Graph

8 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
slackersoft
7900fc3e18 Update to work the way that jasmine 2.0 expect plugins to work. 2013-10-10 13:27:26 -07:00
JR Boyens
b987b61da2 Mock at a higher level; add Zepto tests 2013-01-08 22:40:59 -08:00
JR Boyens
302aab3696 Removed Prototype.js support 2012-12-19 23:18:22 -08:00
JR Boyens
ae89125d72 Clean JSHint errors 2012-12-19 23:02:23 -08:00
Hunter Gillane
ddd5c50e9e remove stray console.log 2011-09-22 20:17:53 -06: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