Code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10987 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-12-11 20:38:26 +00:00
parent 5dd7467061
commit 24be0551cc
5 changed files with 33 additions and 2 deletions
@@ -81,6 +81,12 @@ class MessagesControllerTest < ActionController::TestCase
assert_template 'new'
end
def test_get_new_with_invalid_board
@request.session[:user_id] = 2
get :new, :board_id => 99
assert_response 404
end
def test_post_new
@request.session[:user_id] = 2
ActionMailer::Base.deliveries.clear