summaryrefslogtreecommitdiffstats
path: root/test/functional/account_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/account_controller_test.rb')
-rw-r--r--test/functional/account_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb
index d9b227121..d7f41a81e 100644
--- a/test/functional/account_controller_test.rb
+++ b/test/functional/account_controller_test.rb
@@ -445,7 +445,7 @@ class AccountControllerTest < Redmine::ControllerTest
end
end
mail = ActionMailer::Base.deliveries.last
- assert_equal ['jsmith@somenet.foo'], mail.bcc
+ assert_equal ['jsmith@somenet.foo'], mail.to
end
def test_lost_password_using_additional_email_address_should_send_email_to_the_address
@@ -463,7 +463,7 @@ class AccountControllerTest < Redmine::ControllerTest
end
end
mail = ActionMailer::Base.deliveries.last
- assert_equal ['anotherAddress@foo.bar'], mail.bcc
+ assert_equal ['anotherAddress@foo.bar'], mail.to
end
def test_lost_password_for_unknown_user_should_fail