diff options
author | George Claghorn <george.claghorn@gmail.com> | 2018-04-13 14:43:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-13 14:43:12 -0400 |
commit | 4f99a2186479d5f77460622f2c0f37708b3ec1bc (patch) | |
tree | 4cf97670f287cfe42f9ec0b5b0f9b457b1bc3019 /actionpack/test/fixtures | |
parent | 998da3cb3479c224279e165e00cb99556c3b4686 (diff) | |
download | rails-4f99a2186479d5f77460622f2c0f37708b3ec1bc.tar.gz rails-4f99a2186479d5f77460622f2c0f37708b3ec1bc.tar.bz2 rails-4f99a2186479d5f77460622f2c0f37708b3ec1bc.zip |
Fix rendering a differently-formatted partial after caching
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r-- | actionpack/test/fixtures/functional_caching/_formatted_partial.html.erb | 1 | ||||
-rw-r--r-- | actionpack/test/fixtures/functional_caching/xml_fragment_cached_with_html_partial.xml.builder | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/functional_caching/_formatted_partial.html.erb b/actionpack/test/fixtures/functional_caching/_formatted_partial.html.erb new file mode 100644 index 0000000000..aad73c0d6b --- /dev/null +++ b/actionpack/test/fixtures/functional_caching/_formatted_partial.html.erb @@ -0,0 +1 @@ +<p>Hello!</p> diff --git a/actionpack/test/fixtures/functional_caching/xml_fragment_cached_with_html_partial.xml.builder b/actionpack/test/fixtures/functional_caching/xml_fragment_cached_with_html_partial.xml.builder new file mode 100644 index 0000000000..2bdda3af18 --- /dev/null +++ b/actionpack/test/fixtures/functional_caching/xml_fragment_cached_with_html_partial.xml.builder @@ -0,0 +1,5 @@ +cache do + xml.title "Hello!" +end + +xml.body cdata_section(render("formatted_partial")) |