@@ -150,6 +150,7 class AccountControllerTest < ActionController::TestCase | |||
|
150 | 150 | |
|
151 | 151 | def test_lost_password_for_active_user_should_create_a_token |
|
152 | 152 | Token.delete_all |
|
153 | ActionMailer::Base.deliveries.clear | |
|
153 | 154 | assert_difference 'ActionMailer::Base.deliveries.size' do |
|
154 | 155 | assert_difference 'Token.count' do |
|
155 | 156 | with_settings :host_name => 'mydomain.foo', :protocol => 'http' do |
General Comments 0
You need to be logged in to leave comments.
Login now