JR Boyens
e3639a5a7c
[ Fixes #38 ][ Fixes #35 ] Add filtering to the requests tracker
2013-11-01 15:05:30 -07:00
pivotal
14ca64b77a
[ Fixes #39 ] Uninstall should clear requests / stubs
2013-11-01 14:41:35 -07:00
JR and Sheel Choksi
546549cb5f
Merge pull request #41
2013-11-01 12:09:55 -07:00
Sheel Choksi
b5c99709c3
Bump jasmine to 2.0.0rc5
2013-10-31 09:54:47 -07:00
Gregg Van Hove and JR Boyens
12e394353a
Add at() to access specific request index; actually construct MockAjax
2013-10-18 13:05:47 -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
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
c821f7fbc4
Add Grunt; jshint fixes; more tests
2013-02-19 10:33:40 -08:00
JR Boyens
9b2852195a
Merge with master
2013-02-18 21:18:26 -08:00
JR Boyens
b8ee919ea2
WIP
2013-02-04 19:32:59 -08:00
JR Boyens
f75b12606a
Support capturing HTTP Authentication - fixes #11
2013-01-09 00:05:07 -08:00
JR Boyens
358efd59fd
Support capturing HTTP Authentication - fixes #11
2013-01-09 00:03:52 -08:00
JR Boyens
5da18cc238
Remove specific library support and move to supporting XMLHttpRequest
2013-01-08 23:47:56 -08:00
JR Boyens
b987b61da2
Mock at a higher level; add Zepto tests
2013-01-08 22:40:59 -08:00
JR Boyens
369a72647b
Should be testable with the Jasmine gem
2013-01-08 21:08:38 -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
JR Boyens
66e62e61dc
Merge pull request #15 from pivotal-chelsea/fake_data_method
...
return request body params in a consistent and usable way
2012-12-19 22:44:10 -08:00
JR Boyens
7d2fe67852
Upgrade to jQuery 1.8.x
...
Needed to change a test to reflect newer AJAX response code rewriting by
jQuery. Not exactly sure of the history here.
2012-12-19 22:35:24 -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
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
Hunter Gillane
ba3b1c5b3a
spec for extending FakeXMLHttpRequest
2011-06-07 21:43:20 -06:00
Ryan Dy
5008748055
remove stray comma
2011-06-02 23:14:58 -07: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
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 & 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
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
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
8d61d57f6b
Added jQuery example.
2010-08-23 21:38:20 -07:00
Carl Jackson
63f3f6c672
added SpecRunner to run specs in browser only
2010-08-03 13:38:26 -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