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/fixtures/base_mailer/without_mail_call.erb | 1 + 1 file changed, 1 insertion(+) create mode 100644 actionmailer/test/fixtures/base_mailer/without_mail_call.erb (limited to 'actionmailer/test/fixtures/base_mailer') diff --git a/actionmailer/test/fixtures/base_mailer/without_mail_call.erb b/actionmailer/test/fixtures/base_mailer/without_mail_call.erb new file mode 100644 index 0000000000..290379d5fb --- /dev/null +++ b/actionmailer/test/fixtures/base_mailer/without_mail_call.erb @@ -0,0 +1 @@ +<% raise 'the template should not be rendered' %> \ No newline at end of file -- cgit v1.2.3