From: Eric Davis Date: Wed, 29 Sep 2010 03:02:23 +0000 (+0000) Subject: Fix test failure from Setting changes in other tests X-Git-Tag: 1.1.0~309 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fda1a0cb3b57830679405de1859270673bdcb0ba;p=redmine.git Fix test failure from Setting changes in other tests git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4226 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb index 9af7affb4..947845a58 100644 --- a/test/unit/mail_handler_test.rb +++ b/test/unit/mail_handler_test.rb @@ -41,6 +41,7 @@ class MailHandlerTest < ActiveSupport::TestCase def setup ActionMailer::Base.deliveries.clear + Setting.notified_events = Redmine::Notifiable.all.collect(&:name) end def test_add_issue