soveran/ohm — pull request #86 by damonmorgan (2013-04-11 15:16:19+00:00)
Title: Clean up uniques when deleting

Fix for issue https://github.com/soveran/ohm/issues/85

A bug in the test where the key "unique" was used
instead of "uniques" meant the test
"removes the previous index when deleting" was
passing when it was in fact failing. Model.delete
now mirrors Model.save in how it cleans up indexes
and uniques.