Commit Graph

11 Commits

Author SHA1 Message Date
slackersoft
477f044b4a The HTTP spec says it's 'Content-Type'
Fixes #67
2014-06-10 13:33:32 -07:00
Wil Linssen
49d953c954 Allow stubs to use Regex 2014-06-10 13:10:16 -07:00
Sheel Choksi
85be9be887 Fixes for IE 8 and IE 9
- Object.keys isn't available in IE 8, so using a local objectKeys helper method
that accomplishes the same effect for spec
- The DONE property isn't supported in IE 8, so falling back to the
numerical 4 in spec when necessary
- Extending from an XMLHttpRequest can't extend properties that are
filled in asynchronously (status, responseText, etc.) on IE 8 and IE 9
so we now skip these properties when extending
2014-06-01 15:40:19 -07:00
slackersoft
5ccd4827ee allow query string for stubbed requests to be in any order 2014-01-21 17:06:23 -10:00
slackersoft
a19e5b1bcd match form data in any order 2014-01-17 15:50:49 -08:00
slackersoft
75d0747e70 rudementary matching against the form data being submitted for a request stub 2014-01-17 15:50:48 -08: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