This project is archived and is in readonly mode.
Clean up the list of excluded ivars that get added to assigns in a view test case
-
David Chelimsky
- Assigned user set to José Valim
Patch: http://github.com/dchelimsky/rails/commit/7378fa34be0b5c6945ae8f407...
Note that I didn't add any tests for this. Doing so would create a binding between the tests (they'd have to name all the ivars explicitly) and the implementation. The only risk is that somebody wants to use an instance variable name that is used internally by test case, which is a deeper design question than the specific contents of this list.
-
Repository
- State changed from new to resolved
(from [f29fb0dd9ef3e563f9813ee09e7a9b826f70e3f2]) update the list of instance variables that are excluded from assigns in view tests
[#4930 Clean up the list of excluded ivars that get added to assigns in a view test ... state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/f29fb0dd9ef3e563f9813ee09e7a9b...