]> source.dussan.org Git - redmine.git/commitdiff
Fixed test failure.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 8 Jul 2012 07:20:48 +0000 (07:20 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 8 Jul 2012 07:20:48 +0000 (07:20 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9945 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/account_controller_test.rb

index f55a1964f16ee9c44ae39317e141ed7f5c326000..2c13106952e68497366265ce1cce26b97897a6e4 100644 (file)
@@ -150,6 +150,7 @@ class AccountControllerTest < ActionController::TestCase
 
   def test_lost_password_for_active_user_should_create_a_token
     Token.delete_all
+    ActionMailer::Base.deliveries.clear
     assert_difference 'ActionMailer::Base.deliveries.size' do
       assert_difference 'Token.count' do
         with_settings :host_name => 'mydomain.foo', :protocol => 'http' do