Add functional tests for messages
authorTom Hughes <tom@compton.nu>
Thu, 22 Mar 2012 22:58:57 +0000 (22:58 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 22 Mar 2012 23:14:29 +0000 (23:14 +0000)
commiteaad3611b8560966b8126abbae3828a15d768533
tree69a5b878d314909bba18674171e4785bde908826
parent5270a07bc5cfa89576d525e3e5efc8df45c63f12
Add functional tests for messages

Also fixes various issues in the code discovered while writing
the tests, and adds some named routes for messages.
app/controllers/message_controller.rb
app/views/message/outbox.html.erb
config/locales/en.yml
config/routes.rb
test/fixtures/messages.yml
test/functional/message_controller_test.rb
test/unit/message_test.rb