provide a mock json resource bundle to pass model creation test
failing test for model find
a bit of reorganization to make model simpler
find promises a model instance
save persists a model instance through the resource when the instance is new
failing test for flipping to update when the model instance is already persistent
split cases into class vs instance tests
remember to install chai-as-promised
a found model instance has object properties from the resource
a model instance has a state of new/persistent
delete fails on a new model instance
delete succeeds on a persistent instance
save sends instance properties to the resource
deleting a deleted instance will fail
defined behavior for save on a deleted instance
order lines based on similarity
split test cases into instance lifetime vs instance data scenarios
save should send updates to resource
split incoming properties into a private data object to pass update test
saving with no changes should have no effect