rails/rails — pull request #5808 by avakhov (2012-04-11 10:19:44+00:00)
Title: Assert template layout improve

There are fixes for 2 defects:

`assert_template :layout => 'some'` worked wrong if we rendered any partial

`assert_template :layout => nil` did nothing

And in the last commit I suggest to make `assert_template :layout => 'something'` a little bit better. Now we can set `layout :admin` in controller, but can't check `assert_template :layout => :admin` or `assert_template :layout => 'admin'`. I think we should.