Fixed test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9945 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
c02594af96
commit
ab96a29460
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user