diff options
author | Anton Astashov <anton@astashov.net> | 2011-02-03 19:09:21 +0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-02-03 12:55:32 -0200 |
commit | c1c6f29214d3c280f5d1d4abb49d0b90424fcbd7 (patch) | |
tree | 4d4e0665c1a53e62ed64ec61a816bc3ff60c327b /actionpack/test/fixtures | |
parent | e89ba63b885b4b8e65d0516b568c0057a3847b7c (diff) | |
download | rails-c1c6f29214d3c280f5d1d4abb49d0b90424fcbd7.tar.gz rails-c1c6f29214d3c280f5d1d4abb49d0b90424fcbd7.tar.bz2 rails-c1c6f29214d3c280f5d1d4abb49d0b90424fcbd7.zip |
Add a test for 'render :layout'
To make sure it will show block contents if it is placed after 'render
:partial'
[#5557 state:resolved]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r-- | actionpack/test/fixtures/test/_layout_with_partial_and_yield.html.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/test/_layout_with_partial_and_yield.html.erb b/actionpack/test/fixtures/test/_layout_with_partial_and_yield.html.erb new file mode 100644 index 0000000000..5db0822f07 --- /dev/null +++ b/actionpack/test/fixtures/test/_layout_with_partial_and_yield.html.erb @@ -0,0 +1,4 @@ +Before +<%= render :partial => "test/partial.html.erb" %> +<%= yield %> +After |