Miscellaneous cleanups

This commit is contained in:
Blake Watters
2012-02-17 15:40:14 -05:00
parent 67b3ba9222
commit e904394b6b
16 changed files with 52 additions and 43 deletions

View File

@@ -33,7 +33,7 @@
objectManager.objectStore = objectStore;
RKHuman* human = [RKHuman createEntity];
human.railsID = [NSNumber numberWithInt:1234];
[objectStore save];
[objectStore save:nil];
NSManagedObject* newReference = [objectStore findOrCreateInstanceOfEntity:[RKHuman entity] withPrimaryKeyAttribute:@"railsID" andValue:@"1234"];
assertThat(newReference, is(equalTo(human)));
}