This project is archived and is in readonly mode.
Changeset [e02db06ece7aeecec7c37f5b0e3de7d65c8684e6] by David Chelimsky
Revision e02db06ece7aeecec7c37f5b0e3de7d65c8684e6,
committed by David Chelimsky
· May 26th, 2010 @ 02:59 PM
In AV::TC, move protect_against_forgery? from the test_case to
the
_helper module included in the view.
- ensures that protect_against_forgery? is present when a helper included in a partial that is rendered by the template under test calls it (which happens in FormTagHelper#extra_tags_for_form, for example).
[#4700 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/e02db06ece7aeecec7c37f5b0e3de7...
2 changed files
-
M
actionpack/lib/action_view/test_case.rb -
M
actionpack/test/template/test_case_test.rb