Don't delete the managed object unless we were responsible for saving it in the first place. closes #125

This commit is contained in:
Blake Watters
2011-06-29 21:04:17 -04:00
parent 5a2f937a52
commit d57b784c30
4 changed files with 40 additions and 16 deletions

View File

@@ -87,13 +87,13 @@
</EnvironmentVariable>
<EnvironmentVariable
key = "UISPEC_SPEC"
value = "RKObjectMappingNextGenSpec"
isEnabled = "NO">
value = "RKObjectManagerSpec"
isEnabled = "YES">
</EnvironmentVariable>
<EnvironmentVariable
key = "UISPEC_EXAMPLE"
value = "itShouldInformTheDelegateOfAnErrorWhenMappingFailsBecauseThereIsNoMappableContent"
isEnabled = "NO">
value = "itShouldNotDeleteACoreDataBackedTargetObjectOnErrorIfItWasAlreadySaved"
isEnabled = "YES">
</EnvironmentVariable>
<EnvironmentVariable
key = "NSAutoreleaseHaltOnNoPool"