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/fixtures/caching_mailer | |
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/fixtures/caching_mailer')
3 files changed, 9 insertions, 0 deletions
diff --git a/actionmailer/test/fixtures/caching_mailer/fragment_caching_options.html.erb b/actionmailer/test/fixtures/caching_mailer/fragment_caching_options.html.erb new file mode 100644 index 0000000000..0541ac321b --- /dev/null +++ b/actionmailer/test/fixtures/caching_mailer/fragment_caching_options.html.erb @@ -0,0 +1,3 @@ +<%= cache :no_digest, skip_digest: true, expires_in: 0 do %> + No Digest +<% end %> diff --git a/actionmailer/test/fixtures/caching_mailer/multipart_cache.html.erb b/actionmailer/test/fixtures/caching_mailer/multipart_cache.html.erb new file mode 100644 index 0000000000..0d26baa2d7 --- /dev/null +++ b/actionmailer/test/fixtures/caching_mailer/multipart_cache.html.erb @@ -0,0 +1,3 @@ +<% cache :html_caching, skip_digest: true do %> + "Welcome html" +<% end %> diff --git a/actionmailer/test/fixtures/caching_mailer/multipart_cache.text.erb b/actionmailer/test/fixtures/caching_mailer/multipart_cache.text.erb new file mode 100644 index 0000000000..ef97326e03 --- /dev/null +++ b/actionmailer/test/fixtures/caching_mailer/multipart_cache.text.erb @@ -0,0 +1,3 @@ +<% cache :text_caching, skip_digest: true do %> + "Welcome text" +<% end %> |