Update MainController functional test

Dashboard assignments are now ordered by ascending due dates.
Use the new Ruby 1.9 hash syntax.