diff options
author | Stan Lo <a22301613@yahoo.com.tw> | 2015-12-23 16:01:32 +0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-02-23 21:04:16 -0300 |
commit | 049b6e670f0a9d7dc03ee4ddf9334ddbeb6c7900 (patch) | |
tree | ae64580a2ead0ab9d076b400d2c382969844a321 /actionmailer/test/fixtures | |
parent | 2c02bc0a47777ad8cf98e1465c08b1a68151803e (diff) | |
download | rails-049b6e670f0a9d7dc03ee4ddf9334ddbeb6c7900.tar.gz rails-049b6e670f0a9d7dc03ee4ddf9334ddbeb6c7900.tar.bz2 rails-049b6e670f0a9d7dc03ee4ddf9334ddbeb6c7900.zip |
Porting ActionController::Caching to ActionMailer::Caching
Diffstat (limited to 'actionmailer/test/fixtures')
4 files changed, 10 insertions, 0 deletions
diff --git a/actionmailer/test/fixtures/caching_mailer/_partial.html.erb b/actionmailer/test/fixtures/caching_mailer/_partial.html.erb new file mode 100644 index 0000000000..8e965f52b4 --- /dev/null +++ b/actionmailer/test/fixtures/caching_mailer/_partial.html.erb @@ -0,0 +1,3 @@ +<% cache :caching do %> + Old fragment caching in a partial +<% end %> diff --git a/actionmailer/test/fixtures/caching_mailer/fragment_cache.html.erb b/actionmailer/test/fixtures/caching_mailer/fragment_cache.html.erb new file mode 100644 index 0000000000..90189627da --- /dev/null +++ b/actionmailer/test/fixtures/caching_mailer/fragment_cache.html.erb @@ -0,0 +1,3 @@ +<% cache :caching do %> +"Welcome" +<% end %> diff --git a/actionmailer/test/fixtures/caching_mailer/fragment_cache_in_partials.html.erb b/actionmailer/test/fixtures/caching_mailer/fragment_cache_in_partials.html.erb new file mode 100644 index 0000000000..2957d083e8 --- /dev/null +++ b/actionmailer/test/fixtures/caching_mailer/fragment_cache_in_partials.html.erb @@ -0,0 +1 @@ +<%= render "partial" %> diff --git a/actionmailer/test/fixtures/caching_mailer/skip_fragment_cache_digesting.html.erb b/actionmailer/test/fixtures/caching_mailer/skip_fragment_cache_digesting.html.erb new file mode 100644 index 0000000000..0d52429a81 --- /dev/null +++ b/actionmailer/test/fixtures/caching_mailer/skip_fragment_cache_digesting.html.erb @@ -0,0 +1,3 @@ +<%= cache :no_digest, skip_digest: true do %> + No Digest +<% end %> |