Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More minor spacing tweaks
  • Loading branch information
jspahrsummers committed Oct 14, 2013
1 parent 8f02c94 commit 49c833f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MantleTests/MTLManagedObjectAdapterSpec.m
Expand Up @@ -241,10 +241,13 @@
MTLChild *child1Parent1 = parentOne.orderedChildren[0];
MTLChild *child2Parent1 = parentOne.orderedChildren[1];
MTLChild *child3Parent1 = parentOne.orderedChildren[2];

MTLParentTestModel *parentModelCopy = [parentModel copy];
[[parentModelCopy mutableOrderedSetValueForKey:@"orderedChildren"] removeObjectAtIndex:1];

MTLChildTestModel *childToDeleteModel = [parentModelCopy.unorderedChildren anyObject];
[[parentModelCopy mutableSetValueForKey:@"unorderedChildren"] removeObject:childToDeleteModel];

MTLParent *parentTwo = [MTLManagedObjectAdapter managedObjectFromModel:parentModelCopy insertingIntoContext:context error:&error];
expect(parentTwo).notTo.beNil();
expect(error).to.beNil();
Expand Down

0 comments on commit 49c833f

Please sign in to comment.