From ec3429a3d6da2250f360d629fa6300e46f3d53fb Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Fri, 7 Dec 2012 14:43:49 +0100 Subject: The return value from mailer methods is not relevant. --- actionmailer/test/mailers/base_mailer.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionmailer/test/mailers') diff --git a/actionmailer/test/mailers/base_mailer.rb b/actionmailer/test/mailers/base_mailer.rb index 52342bc59e..8fca6177bd 100644 --- a/actionmailer/test/mailers/base_mailer.rb +++ b/actionmailer/test/mailers/base_mailer.rb @@ -118,4 +118,9 @@ class BaseMailer < ActionMailer::Base def without_mail_call end + + def with_nil_as_return_value(hash = {}) + mail(:template_name => "welcome") + nil + end end -- cgit v1.2.3