diff options
author | Yves Senn <yves.senn@gmail.com> | 2012-10-08 22:22:47 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@garaio.com> | 2012-10-11 08:46:49 +0200 |
commit | ed9567401dfc7b476bf9ccac82826fc63283f708 (patch) | |
tree | 4e9da4c25d623281aff8438a65934cd3526834a3 /actionpack/test/fixtures | |
parent | cd98c25ebedc27fe892468bb87ea260fb070f5eb (diff) | |
download | rails-ed9567401dfc7b476bf9ccac82826fc63283f708.tar.gz rails-ed9567401dfc7b476bf9ccac82826fc63283f708.tar.bz2 rails-ed9567401dfc7b476bf9ccac82826fc63283f708.zip |
recognizes when a partial was rendered twice. Closes #3675
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r-- | actionpack/test/fixtures/test/render_two_partials.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/test/render_two_partials.html.erb b/actionpack/test/fixtures/test/render_two_partials.html.erb new file mode 100644 index 0000000000..3db6025860 --- /dev/null +++ b/actionpack/test/fixtures/test/render_two_partials.html.erb @@ -0,0 +1,2 @@ +<%= render :partial => 'partial', :locals => {'first' => '1'} %> +<%= render :partial => 'partial', :locals => {'second' => '2'} %> |