I am having trouble getting any test case to run after installing RestKit
in my project (They were all working previously).
Here's the error I'm getting:
*** Assertion failure in +[RKEntityMapping mappingForEntityForName:inManagedObjectStore:]
Here's where it's happening:
RKEntityMapping *responseMapping = [RKEntityMapping mappingForEntityForName:@"DBSensor" inManagedObjectStore:objectManager.managedObjectStore];
My RestkitSetup methods are all being called (and working properly in the non-test build target), and I'm including CoreData.h
, RestKit.h
, and RestKit/Testing.h
in the proper order. Is there something else I have to do to ensure that the ManagedObjectStore
gets created properly?