summaryrefslogtreecommitdiffstats
path: root/test/functional/account_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-08 07:20:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-08 07:20:48 +0000
commitab96a29460c650540c6bb66b5463c3c6599f9c2c (patch)
treefe19ac643f939ba46f26f1aa18ac4659f17cfe7a /test/functional/account_controller_test.rb
parentc02594af96cd304af5c6f13114f5f9775fff6b40 (diff)
downloadredmine-ab96a29460c650540c6bb66b5463c3c6599f9c2c.tar.gz
redmine-ab96a29460c650540c6bb66b5463c3c6599f9c2c.zip
Fixed test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9945 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/account_controller_test.rb')
-rw-r--r--test/functional/account_controller_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb
index f55a1964f..2c1310695 100644
--- a/test/functional/account_controller_test.rb
+++ b/test/functional/account_controller_test.rb
@@ -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