]> source.dussan.org Git - redmine.git/commitdiff
Fix test failure from Setting changes in other tests
authorEric Davis <edavis@littlestreamsoftware.com>
Wed, 29 Sep 2010 03:02:23 +0000 (03:02 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Wed, 29 Sep 2010 03:02:23 +0000 (03:02 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4226 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/mail_handler_test.rb

index 9af7affb4e6833016586eac27b1ded9e61229dc8..947845a58523e7602940befbcc4dc79226b86271 100644 (file)
@@ -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