caktus/django-timepiece — pull request #522 by rebecca-caktus (2012-11-06 17:19:26+00:00)
Title: refs #487 - New dashboard tests

I cleaned up the code flow & variable names and wrote tests for both the new dashboard view and `process_progress` utility.

Also, to fix an error that was popping up in another test I changed the behavior of both the dashboard and clock in views to raise an exception whenever there are multiple entries. Programmatically, this situation should never happen so it seems best to raise a 500 error & check it out if it ever does occur.