Mercurial > hg > soundsoftware-site
diff test/functional/messages_controller_test.rb @ 1294:3e4c3460b6ca redmine-2.2
Update to Redmine SVN revision 11972 on 2.2-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:01:12 +0100 |
parents | 433d4f72a19b |
children | 622f24f53b42 |
line wrap: on
line diff
--- a/test/functional/messages_controller_test.rb Mon Jan 07 12:01:42 2013 +0000 +++ b/test/functional/messages_controller_test.rb Fri Jun 14 09:01:12 2013 +0100 @@ -81,6 +81,11 @@ assert_response 404 end + def test_show_message_from_invalid_board_should_respond_with_404 + get :show, :board_id => 999, :id => 1 + assert_response 404 + end + def test_get_new @request.session[:user_id] = 2 get :new, :board_id => 1