32 Commits

Author SHA1 Message Date
Blake Watters
499071925b Added test cases attempting to reproduce duplicated objects issue. refs #1228 2013-03-17 16:17:05 -04:00
Blake Watters
90fe39e8e9 Fix issue with RKPathAndQueryStringFromURLRelativeToURL function dropping trailing slashes due to reliance on [NSURL path]. fixes #1220 2013-03-12 18:57:13 -04:00
Blake Watters
cb108d28ba Fix broken test coverage for 304 (Not Modified) optimization 2013-03-09 10:15:21 -05:00
Blake Watters
318f9659f6 Move management of RKResponseHasBeenMapped to RKObjectRequestOperation instead of RKManagedObjectRequestOperation. Add unit tests. 2013-03-07 14:39:31 -05:00
Blake Watters
248d1d3779 Remove noisy params logging from test server actions 2013-03-07 13:59:02 -05:00
Jeff Arena
948209b254 Remove wasNotModified method in favor of setting a flag on cached response entries to determine if mapping can be skipped. 2013-03-07 13:08:30 -05:00
Blake Watters
0364d6c67b Integrate support for metadata mapping routing data. refs #1174 2013-01-24 23:16:48 -05:00
Blake Watters
3d52c459aa Add test case for empty 5xx response. refs #1169 2013-01-18 17:51:56 -05:00
Blake Watters
999edf82c7 Add mapping test for multi-part form upload. refs #1148 2013-01-12 11:23:45 -05:00
Blake Watters
b61039c838 Use a visitor to identify all NSManagedObject instances being sent via the object manager which have a temporary managed object ID to avoid crashes during mapping. refs #1001 2013-01-09 21:11:38 -05:00
Blake Watters
879ffd73e6 Add support for deleting Core Data managed objects that fail validation out of the mapping context. This enables you to silently drop mapping for managed objects that fail validation. fixes #691 closes #694 2013-01-01 23:56:58 -05:00
Blake Watters
a30263b196 Fix issues with using the Paginator as documented in the headers. fixes #1117 2013-01-01 22:38:18 -05:00
Blake Watters
9f228e0280 Expand test coverage on managed object deletion cases and fix bugs. closes #358 2012-12-16 20:45:01 -05:00
Blake Watters
1c86cfab75 Improve RKManagedObjectRequestOperation handling for DELETE requests and expand test coverage
* Failure to match a response descriptor no longer fails DELETE requests
2012-12-09 23:24:45 -05:00
Blake Watters
61102be1a4 Fix incorrect mapping results for secondary key paths when more than one response descriptor matches and there is a targetObject. fixes #1057 2012-12-07 18:56:14 -05:00
Blake Watters
aa9f2a21e3 Port remaining test cases from NSData serialization pull request. closes #762 2012-11-06 12:14:40 -05:00
Blake Watters
94318d1cb2 Add support for returning fetched objects when a 304 'Not Modified' response is loaded. closes #1006 2012-10-28 21:44:42 -04:00
Jeff Arena
77d738b91e Add additional test coverage to DELETE to handle cases where a 204 is returned, instead of a 200. 2012-10-02 11:10:25 -04:00
Blake Watters
adc1d178fa Add cancellation API to RKObjectManager.
* Introduces `cancelAllObjectRequestOperationsWithMethod:pathPattern:`
* Make RKObjectRequestOperation cancel underlying request operation when cancelled
2012-09-27 22:33:19 -04:00
Blake Watters
c886d99321 Remove remaining OAuth test stuff 2012-09-27 21:51:43 -04:00
Blake Watters
8647fa5f42 Fix issue where grouping objects by section in RKTableController and loading an empty collection would fail to refresh table view. 2012-05-25 13:46:18 -04:00
Christopher Swasey
e8825f1515 Add actual OAuth implementations to the server, along with some basic test targets and some server-side specs to make sure things are wired up properly. 2012-05-10 12:57:31 -04:00
Marcus Brito
ea100b6aac Add a RKRequest attribute to control redirect handling
The default behavior is the same as before, to follow redirects. If RKRequest.followRedirect is set to NO, then a redirect (301, 302, 307) response will not be followed, and the request processing will proceed using the current request only.
2012-04-17 21:16:32 -04:00
Blake Watters
6fd71650e5 Fix broken unit tests related to Core Data cache skipping optimization 2012-04-04 12:19:24 -04:00
Blake Watters
fa3c82c11f Updated to Sinatra 1.4.0 HEAD to pick up fixes for setting status code when
using send_file and logging output.
2012-04-03 23:39:55 -04:00
Brian Morton
6c76546008 Add require bundler/setup to help enforce gem versions. 2012-03-20 18:35:24 -07:00
Blake Watters
0775e1d28e Eliminate use of public in favor of public_folder to suppress Sinatra warnings. refs #293 2012-03-13 14:06:43 -04:00
Blake Watters
605f07b05b Add tmp to .gitignore and rescue LoadError when attempting to require ruby-debug. refs #293 2012-03-13 14:02:36 -04:00
Blake Watters
83ae571b0a Remove Sinatra reloader. refs #293 2012-03-13 13:51:41 -04:00
Blake Watters
8483472ffb Added rackup for executing unit test server via Thin 2012-03-13 13:18:38 -04:00
Blake Watters
44ff8826f7 Invalidate timeout timer when POST body data is sent. fixes #535 2012-02-16 11:07:16 -05:00
Blake Watters
4142ffdb42 Reorganization and cleanups of Unit Tests
* Reorganized tests to accommodate split into Logic & Application.
* Eliminated 'Spec' naming in favor of 'Test' as the suite is entirely based on SenTest.
* Pulled majority of testing support classes up into the library and documented them.
* Introduced RKApplicationTests app for running the RKTableController UI tests
2012-02-10 17:32:23 -05:00