Commit Graph

77 Commits

Author SHA1 Message Date
JR Boyens
b8ee919ea2 WIP 2013-02-04 19:32:59 -08:00
JR Boyens
358efd59fd Support capturing HTTP Authentication - fixes #11 2013-01-09 00:03:52 -08:00
JR Boyens
5e7dedf6d5 Merge branch 'toplevel-mock' into 2_0 2013-01-08 23:49:05 -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
29b70f41e7 Merge pull request #10 from Shroder/patch-1
Adding missing closed bracket to TestResponses under step 1.
2012-12-19 22:47:22 -08:00
JR Boyens
fdf4b8044d Merge pull request #13 from jareware/patch-1
Remove the single remaining dependency on the global $
2012-12-19 22:46:39 -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
d99d52b582 Merge pull request #16 from pivotal-medici/jshint_fixes
Fix jshint errors
2012-12-19 22:41:52 -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
JR Boyens
3040e9f1d1 Upgrade to jasmine-core 1.3.1, jasmine-gem locked to 1.2 series 2012-12-19 21:56:14 -08:00
Alex Kwiatkowski & Will Bagby
988797888f Fix jshint errors 2012-06-12 16:06:21 -04: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
Jarno Rantanen
dd670bc43c Remove the single remaining dependency on the global $ (referenced through jQuery everywhere else). 2012-01-25 11:20:00 +02:00
Shroder
6030662bd0 Adding missing closed bracket to TestResponses under step #1. 2011-10-11 10:14:42 -07:00
Hunter Gillane
ddd5c50e9e remove stray console.log 2011-09-22 20:17:53 -06:00
Hunter Gillane
f060026ced add bundler 2011-09-22 20:17:31 -06:00
Ben Smith & Hunter Gillane
37454059e3 README 2011-08-29 19:59:25 -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
Jay Phillips & Ken Mayer
fefef6c56d FakeXMLHttpRequest now defines its functions on this so it can be extended. e.g.
FakeXMLHttpRequest.prototype.parsedParams = function() {
	  return $.deparam(this.params); // Uses jquery-bbq
	};
2011-03-10 11:48:01 -08: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
Hunter Gillane
5b5b87daea fixed path to both frameworks in example projects 2010-11-28 16:52:09 -08:00
Hunter Gillane
3ba5e8ea98 no need to parse response 2010-11-28 16:51:43 -08:00
Hunter Gillane
a30ffc6100 added spec runner to prototype project 2010-11-28 16:40:08 -08:00
Hunter Gillane
e1a8e74ccf added spec runner for jquery example, doesn't require jasmine gem 2010-11-28 16:35:26 -08:00
Hunter Gillane
aeb873d480 removed old mock for jquery 2010-10-02 11:13:27 -07:00
Hunter Gillane
6f8fd0d12f deleted unused spec runner from the jquery project 2010-10-02 11:06:33 -07:00
Hunter Gillane
c7272cc144 jquery example green 2010-10-02 10:45:01 -07:00
Hunter Gillane
7ef28b29da removed rvmrc 2010-10-02 10:23:42 -07:00
Davis W. Frank
77415e803c Added license content to the main file. 2010-09-29 14:56:17 -07: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
ec1867e944 Only install Prototype.js glue code if Prototype.js is included; Spec Helper will now install either or both mocking code 2010-09-17 10:10:34 -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
5833dd806c whoops! removed options into FakeXMLHttpResponse. 2010-09-16 17:09:52 -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
2d527a5d78 Refactor Prototype example to use the latest mock 2010-09-16 15:09:12 -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