aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/comment_spec.rb')
-rw-r--r--spec/models/comment_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/comment_spec.rb b/spec/models/comment_spec.rb
index f3a52b1..8a071c6 100644
--- a/spec/models/comment_spec.rb
+++ b/spec/models/comment_spec.rb
@@ -49,7 +49,7 @@ describe Comment do
answer = Factory(:answer)
comment = Comment.new(:owner => answer.owner.mentor, :answer => answer, :content => "some comment")
- UserMailer.should_receive(:deliver_new_comment).with(answer.owner, comment)
+ UserMailer.should_receive(:send_later).with(:deliver_new_comment, answer.owner, comment)
comment.save!
end