rails/rails — pull request #5806 by avakhov (2012-04-11 05:33:20+00:00)
Title: Fix assert_template assertion with :layout option

Without my fix `assert_tempate :layout => 'layouts/application'` works incorrect if there are any partials.

Like this:

```
1) Failure:
test_passes_with_layout_and_partial(AssertTemplateTest)
[test/controller/action_pack_assertions_test.rb:484]:
Expected no partials to be rendered
```