DirectEmployers/MyJobs — pull request #120 by fezick (2013-04-29 19:54:28+00:00)
Title: Fix account notice

Fixes an error where the successful save message is persistent even after an error event.

* Updates the logic to detect an form error and change the message accordingly.
* Also breaks the message functionality into a utility function in views, as it is used in two different places.
* adds two new tests:
* one to check for a success message when it *should* be present
* one to check for the absence of a success message when it should be cleared

MJ-199