Update RKMappingTest to support easier testing of RKEntityMapping objects by reducing the amount of required configuration to get a test configured.

This commit is contained in:
Blake Watters
2012-10-15 19:27:35 -04:00
parent 74624200da
commit 845de91e80
6 changed files with 69 additions and 12 deletions

View File

@@ -25,7 +25,6 @@
{
NSAssert(entity, @"Cannot find existing managed object without a target class");
NSAssert(primaryKeyAttribute, @"Cannot find existing managed object instance without mapping that defines a primaryKeyAttribute");
NSAssert(primaryKeyValue, @"Cannot find existing managed object by primary key without a value");
NSAssert(managedObjectContext, @"Cannot find existing managed object with a context");
id searchValue = primaryKeyValue;