Skip to content

History / Unit Testing with RestKit

Revisions

  • Updated testManagedObjectIdentification to create a PersistentStore and ManagedObjectContext. Without this insertNewObjectForEntityForName fails with a nil persistentStoreManagedObjectContext.

    @pbrobst23 pbrobst23 committed Apr 11, 2014
  • 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.

    @4PixelsDev 4PixelsDev committed Dec 8, 2013
  • 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.

    Colin Regan committed Aug 26, 2013
  • Updated Unit Testing with RestKit (markdown)

    @msmollin msmollin committed Jul 26, 2013
  • Updated Unit Testing with RestKit (markdown)

    @msmollin msmollin committed Jul 26, 2013
  • Typos and fixes in RKTestFactory category to make it a complete example.

    @msmollin msmollin committed Jul 26, 2013
  • Fixed error in - (void)testManagedObjectIdentification: STAssertEquals is for C Scalar/Structs/Unions comparison, and will *never* produce the expected result comparing NSObject subclasses.

    @msmollin msmollin committed Jul 25, 2013
  • Fix type mismatch.

    @ostatnicky ostatnicky committed Jul 6, 2013
  • RKObjectRequestOperation don't own direct 'response' property.

    @ostatnicky ostatnicky committed Jul 6, 2013
  • There was missing 'keyPath' in calling RKResponseDescriptor message.

    @ostatnicky ostatnicky committed Jul 6, 2013
  • There was missing one parameter in STAssertTrue

    @ostatnicky ostatnicky committed Jul 4, 2013
  • Remove dangling references to 0.10.0 API's

    @blakewatters blakewatters committed May 11, 2013
  • Fixed a typo in the class method name for expectationWithRelationshipName:attributes:value

    Justyn committed May 8, 2013
  • Fixed typo in string declaration

    Justyn committed May 7, 2013
  • Fixed new objective c literal naming for NSDictionary creation.

    Justyn committed May 7, 2013
  • Updated Unit Testing with RestKit (markdown)

    Justyn committed May 7, 2013
  • Added a missing parsedJSON variable to articleMappingTest

    Justyn committed May 7, 2013
  • Updated call to class method for RKMappingTest to the correct one.

    Justyn committed May 7, 2013
  • Removed unnecessary code from class.

    Justyn committed May 7, 2013
  • 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.

    Justyn committed May 7, 2013
  • Updates code for creating an RKMappingTest to use the correct class method call.

    Justyn committed May 7, 2013
  • Swapped out hardcoded string values to use the method attributes instead.

    Justyn committed May 7, 2013
  • Added an example RKArticle to avoid any confusion with an internal class.

    justynspooner committed May 7, 2013
  • Fixed a method call name. It should be + testForMapping:sourceObject:destinationObject: not + testForMapping:withSourceObject:destinationObject:

    justynspooner committed May 3, 2013
  • added .html to make these links work.

    justynspooner committed May 3, 2013
  • Fixed some other links

    justynspooner committed May 3, 2013
  • The link to http://restkit.org/api/development/Classes/RKTestFixture.html had a ] at the end of it preventing the page from loading.

    justynspooner committed May 3, 2013
  • Updated CocoaPods reference

    @blakewatters blakewatters committed Mar 7, 2013
  • added a missing step in the setup section.

    @naoyamakino naoyamakino committed Jan 16, 2013
  • Updated the setup steps in which RestKit is installed via CocoaPods.

    @naoyamakino naoyamakino committed Jan 14, 2013