diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-04-17 18:44:15 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-04-17 23:16:09 +0530 |
commit | cbb25c4b1cb96cc6e857c3c05896056ec81931bf (patch) | |
tree | 1769d2ce05ea21d6e1c06fcf527e539394145245 /actionmailer/test/mailers | |
parent | 3b0a627a94cca3a77568703e2053805b5a7ff807 (diff) | |
download | rails-cbb25c4b1cb96cc6e857c3c05896056ec81931bf.tar.gz rails-cbb25c4b1cb96cc6e857c3c05896056ec81931bf.tar.bz2 rails-cbb25c4b1cb96cc6e857c3c05896056ec81931bf.zip |
Expand on Action Mailer Fragment caching tests
Diffstat (limited to 'actionmailer/test/mailers')
-rw-r--r-- | actionmailer/test/mailers/caching_mailer.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/actionmailer/test/mailers/caching_mailer.rb b/actionmailer/test/mailers/caching_mailer.rb index 345d267a36..92d3cff7c9 100644 --- a/actionmailer/test/mailers/caching_mailer.rb +++ b/actionmailer/test/mailers/caching_mailer.rb @@ -12,4 +12,12 @@ class CachingMailer < ActionMailer::Base def skip_fragment_cache_digesting mail(subject: "welcome", template_name: "skip_fragment_cache_digesting") end + + def fragment_caching_options + mail(subject: "welcome", template_name: "fragment_caching_options") + end + + def multipart_cache + mail(subject: "welcome", template_name: "multipart_cache") + end end |