This project is archived and is in readonly mode.

#5751 ✓resolved
David Chelimsky

add test case to specify behaviour of _assigns in ActionView::TestCase

Reported by David Chelimsky | October 2nd, 2010 @ 01:15 PM

http://github.com/rails/rails/commit/e66c1cee86aba1c81152f3d0872313... changed the behaviour of ActionView::TestCase@_assigns to return an Array instead of a Hash. This broke extensions that rely on _assigns, so http://github.com/rails/rails/commit/b95152201871f076a0d5c95e9e6387... reverted it.

Forthcoming patch adds a test case, which specifies that _assigns returns a Hash.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>