Commit 7681d151727f4db98bac26e65c2fb0ab0cef007c
1 parent
bff86e47
Exists in
master
and in
27 other branches
rails3: fix add_member tests
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/unit/add_member_test.rb
... | ... | @@ -115,7 +115,7 @@ class AddMemberTest < ActiveSupport::TestCase |
115 | 115 | should 'deliver target notification message' do |
116 | 116 | task = AddMember.new(:person => person, :organization => community) |
117 | 117 | |
118 | - email = TaskMailer.deliver_target_notification(task, task.target_notification_message) | |
118 | + email = TaskMailer.target_notification(task, task.target_notification_message).deliver | |
119 | 119 | assert_match(/#{task.requestor.name} wants to be a member of this community/, email.subject) |
120 | 120 | end |
121 | 121 | ... | ... |