Commit Graph

10 Commits

Author SHA1 Message Date
Don McCaughey and Greg Cobb
c788f13224 Create requestHeaders object in FakeXMLHttpRequest constructor instead of on the prototype 2013-12-02 17:51:21 -08:00
JR and Sheel Choksi
546549cb5f Merge pull request #41 2013-11-01 12:09:55 -07:00
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
358efd59fd Support capturing HTTP Authentication - fixes #11 2013-01-09 00:03:52 -08:00
JR Boyens
ae89125d72 Clean JSHint errors 2012-12-19 23:02:23 -08:00
Elliot Foster & Yuri Green
089fea97c1 Decode '+' to spaces, not just '%20' 2012-05-16 12:09:37 -07:00
Elliot Foster & Yuri Green
fa9a44a659 return request body params in a consistent and usable way 2012-05-16 11:40:24 -07:00
Hunter Gillane
26e475dfb2 pull jquery and prototype mocks into named functions 2011-08-07 14:20:37 -06:00
Hunter Gillane
ba3b1c5b3a spec for extending FakeXMLHttpRequest 2011-06-07 21:43:20 -06:00
Austin Putman & Sarah Mei
a4d3881e7e Added readyState changes to FakeXmlHttpRequest.
Took out rogue console.error.
2010-09-28 11:41:50 -07:00