summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine/hook_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/lib/redmine/hook_test.rb')
-rw-r--r--test/unit/lib/redmine/hook_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/lib/redmine/hook_test.rb b/test/unit/lib/redmine/hook_test.rb
index 9f81b912d..f5ee1179f 100644
--- a/test/unit/lib/redmine/hook_test.rb
+++ b/test/unit/lib/redmine/hook_test.rb
@@ -154,14 +154,14 @@ class Redmine::Hook::ManagerTest < ActionView::TestCase
issue = Issue.find(1)
ActionMailer::Base.deliveries.clear
- Mailer.issue_add(issue).deliver
+ Mailer.deliver_issue_add(issue)
mail = ActionMailer::Base.deliveries.last
@hook_module.add_listener(TestLinkToHook)
hook_helper.call_hook(:view_layouts_base_html_head)
ActionMailer::Base.deliveries.clear
- Mailer.issue_add(issue).deliver
+ Mailer.deliver_issue_add(issue)
mail2 = ActionMailer::Base.deliveries.last
assert_equal mail_body(mail), mail_body(mail2)