rails/rails — pull request #7886 by senny (2012-10-09 19:20:45+00:00)
Title: assert_template works when the same partial was rendered multiple times

This is a fix for #3675.

I also refactored the `ActionView::TestCase` internals, so that a separate object keeps track of rendered views and their locals. The internal instance variable `@locals` does no longer exist.