mirror of
https://github.com/zhigang1992/MagicalRecord.git
synced 2026-04-30 04:55:52 +08:00
Making all relevant contexts obtain a permanent id before saving
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
- (void) testCanNotifyDefaultContextOnSave
|
||||
{
|
||||
NSManagedObjectContext *testContext = [NSManagedObjectContext MR_contextThatPushesChangesToDefaultContext];
|
||||
NSManagedObjectContext *testContext = [NSManagedObjectContext MR_contextWithParent:[NSManagedObjectContext MR_defaultContext]];
|
||||
|
||||
assertThat([testContext parentContext], is(equalTo([NSManagedObjectContext MR_defaultContext])));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user