jupiterjs/javascriptmvc — pull request #34 by SimonEbner (2012-01-23 16:41:09+00:00)
Title: Save Nested Models Test

Hi,

this is my small test case related to the forum's topic 'Saving nested models' (http://forum.javascriptmvc.com/#Topic/32525000000785047).
I'm pretty new to this, so please let me know if I did something wrong. I created a little test case in the directory save. I added the test to test/test.js. The problem occurs when launching either save/save.html or save/qunit.html. However, the error thrown in Model.save destroys the test case. I tried to surround the statement with a try..catch block but that didn't work either. I'm sure there is some way to catch the error correctly but I couldn't figure it out. Please let me know.

Kind Regards
Simon