This project is archived and is in readonly mode.

#4930 ✓resolved
David Chelimsky

Clean up the list of excluded ivars that get added to assigns in a view test case

Reported by David Chelimsky | June 22nd, 2010 @ 03:58 PM

ActionView::TestCase copies instance variables from the test case to view in the _assigns method. It excludes ivars that are set up and used by the test case, but the list of ivars currently includes a number of variables that are outdated (no longer exist) and excludes some new variables.

Patch forthcoming to clean that up.

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>

People watching this ticket