From b4064c760b80c99850527d50984cc6e611168a05 Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Thu, 5 Mar 2015 11:52:10 +1300 Subject: Fixed test failures relating to not finding the title. --- app/controllers/refinery/blog/posts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/refinery') diff --git a/app/controllers/refinery/blog/posts_controller.rb b/app/controllers/refinery/blog/posts_controller.rb index 1cc9698..2e504f7 100644 --- a/app/controllers/refinery/blog/posts_controller.rb +++ b/app/controllers/refinery/blog/posts_controller.rb @@ -41,7 +41,7 @@ module Refinery if @comment.valid? if Comment::Moderation.enabled? or @comment.ham? begin - CommentMailer.notification(@comment, request).deliver + CommentMailer.notification(@comment, request).deliver_now rescue logger.warn "There was an error delivering a blog comment notification.\n#{$!}\n" end -- cgit v1.2.3