From b786f065d3fc6b0869f7f485042e8667e71ff66d Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Sat, 29 Sep 2012 22:29:29 +0200 Subject: Do not render views when mail() isn't called. (NullMail refactoring) --- actionmailer/test/mailers/base_mailer.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionmailer/test/mailers') diff --git a/actionmailer/test/mailers/base_mailer.rb b/actionmailer/test/mailers/base_mailer.rb index f25d9b9aff..52342bc59e 100644 --- a/actionmailer/test/mailers/base_mailer.rb +++ b/actionmailer/test/mailers/base_mailer.rb @@ -115,4 +115,7 @@ class BaseMailer < ActionMailer::Base def email_with_translations mail body: render("email_with_translations", formats: [:html]) end + + def without_mail_call + end end -- cgit v1.2.3