diff options
author | David Chelimsky <dchelimsky@gmail.com> | 2010-05-25 23:46:00 -0500 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-05-26 15:59:03 +0200 |
commit | e02db06ece7aeecec7c37f5b0e3de7d65c8684e6 (patch) | |
tree | ef87e5c212382a6b14b9167c9dbfa19e575290c0 /activesupport/test/autoload.rb | |
parent | 9ae7e93920999511447179f7c44e4654ebfda476 (diff) | |
download | rails-e02db06ece7aeecec7c37f5b0e3de7d65c8684e6.tar.gz rails-e02db06ece7aeecec7c37f5b0e3de7d65c8684e6.tar.bz2 rails-e02db06ece7aeecec7c37f5b0e3de7d65c8684e6.zip |
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>
Diffstat (limited to 'activesupport/test/autoload.rb')
0 files changed, 0 insertions, 0 deletions