aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-10-11 05:40:53 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-10-11 05:40:53 -0700
commit888a7a5bdc10bf5e2aceaad1cd40979a2388e4c0 (patch)
tree45e598b462d05a71b6a0e85c25a4608946462a58 /actionpack/test/fixtures
parenteec8924277a481b8d703913b688bc65ffcbad707 (diff)
parentd6524d78687b39c72e0814e61b80e3e6b6d9997e (diff)
downloadrails-888a7a5bdc10bf5e2aceaad1cd40979a2388e4c0.tar.gz
rails-888a7a5bdc10bf5e2aceaad1cd40979a2388e4c0.tar.bz2
rails-888a7a5bdc10bf5e2aceaad1cd40979a2388e4c0.zip
Merge pull request #7886 from senny/3675_assert_template_twice_against_same_partial
assert_template works when the same partial was rendered multiple times
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r--actionpack/test/fixtures/test/render_two_partials.html.erb2
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'} %>