Fixes functional test failures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2187 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -64,7 +64,7 @@ class MessagesControllerTest < Test::Unit::TestCase
|
||||
def test_post_new
|
||||
@request.session[:user_id] = 2
|
||||
ActionMailer::Base.deliveries.clear
|
||||
Setting.notified_events << 'message_posted'
|
||||
Setting.notified_events = ['message_posted']
|
||||
|
||||
post :new, :board_id => 1,
|
||||
:message => { :subject => 'Test created message',
|
||||
|
||||
Reference in New Issue
Block a user