diff options
author | David Chelimsky <dchelimsky@gmail.com> | 2010-05-25 23:46:00 -0500 |
---|---|---|
committer | Mikel Lindsaar <raasdnil@gmail.com> | 2010-06-03 23:32:09 +1000 |
commit | d6fec21d1affe069686d681964d208a4b0df7182 (patch) | |
tree | c58ac9162487bdca68342fb2d30730ccfd926378 /railties/MIT-LICENSE | |
parent | 70dca37cfd04bd029f9684eb41d6c8658200ff78 (diff) | |
download | rails-d6fec21d1affe069686d681964d208a4b0df7182.tar.gz rails-d6fec21d1affe069686d681964d208a4b0df7182.tar.bz2 rails-d6fec21d1affe069686d681964d208a4b0df7182.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 'railties/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions