##// END OF EJS Templates
Fixed test failure....
Jean-Philippe Lang -
r9762:ab96a29460c6
parent child
Show More
@@ -150,6 +150,7 class AccountControllerTest < ActionController::TestCase
150
150
151 def test_lost_password_for_active_user_should_create_a_token
151 def test_lost_password_for_active_user_should_create_a_token
152 Token.delete_all
152 Token.delete_all
153 ActionMailer::Base.deliveries.clear
153 assert_difference 'ActionMailer::Base.deliveries.size' do
154 assert_difference 'ActionMailer::Base.deliveries.size' do
154 assert_difference 'Token.count' do
155 assert_difference 'Token.count' do
155 with_settings :host_name => 'mydomain.foo', :protocol => 'http' do
156 with_settings :host_name => 'mydomain.foo', :protocol => 'http' do
General Comments 0
You need to be logged in to leave comments. Login now