We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Updated testManagedObjectIdentification to create a PersistentStore and ManagedObjectContext. Without this insertNewObjectForEntityForName fails with a nil persistentStoreManagedObjectContext.
Make testMappingOfTitleUsingBlock: bildable and make it pass. Changed @"author.title" to @"article.title", renamed value to mappedValue in evaluation block and add missing square bracket to close the block.
Comparing articleID attributes will always return true, regardless of whether or not RestKit mapped the JSON to the preexisting managed object. Calling isEqual on managed objects will return true if and only if they point to the same object in memory, which is the comparison we wish to invoke.
Updated Unit Testing with RestKit (markdown)
Typos and fixes in RKTestFactory category to make it a complete example.
Fixed error in - (void)testManagedObjectIdentification: STAssertEquals is for C Scalar/Structs/Unions comparison, and will *never* produce the expected result comparing NSObject subclasses.
Fix type mismatch.
RKObjectRequestOperation don't own direct 'response' property.
There was missing 'keyPath' in calling RKResponseDescriptor message.
There was missing one parameter in STAssertTrue
Remove dangling references to 0.10.0 API's
Fixed a typo in the class method name for expectationWithRelationshipName:attributes:value
Fixed typo in string declaration
Fixed new objective c literal naming for NSDictionary creation.
Added a missing parsedJSON variable to articleMappingTest
Updated call to class method for RKMappingTest to the correct one.
Removed unnecessary code from class.
Splits out the Category code into seperate interface and implementation. Also updated the value property to be 'mappedValue' instead of 'value'. Also updated the class name to @implementation 'RKArticleMappingTest' instead of RKMappingTest.
Updates code for creating an RKMappingTest to use the correct class method call.
Swapped out hardcoded string values to use the method attributes instead.
Added an example RKArticle to avoid any confusion with an internal class.
Fixed a method call name. It should be + testForMapping:sourceObject:destinationObject: not + testForMapping:withSourceObject:destinationObject:
added .html to make these links work.
Fixed some other links
The link to http://restkit.org/api/development/Classes/RKTestFixture.html had a ] at the end of it preventing the page from loading.
Updated CocoaPods reference
added a missing step in the setup section.
Updated the setup steps in which RestKit is installed via CocoaPods.