diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-05-01 11:10:31 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-05-01 11:12:56 +0200 |
commit | e38dd7bfa4360e241eadf0cf44abdf86ea33a393 (patch) | |
tree | 161e98c028a7b1d145aec2af3722cde37a71e51e /actionpack/test/dispatch/request_test.rb | |
parent | 14d0e0702651de4d825769bddd574aa5066e86f3 (diff) | |
download | rails-e38dd7bfa4360e241eadf0cf44abdf86ea33a393.tar.gz rails-e38dd7bfa4360e241eadf0cf44abdf86ea33a393.tar.bz2 rails-e38dd7bfa4360e241eadf0cf44abdf86ea33a393.zip |
add test-case for `link_to_if` behavior with a block.
This illustrates the purpose of the block for `link_to_if` and
`link_to_unless` helper methods.
It should help to prevent further mistakes like #19844.
Diffstat (limited to 'actionpack/test/dispatch/request_test.rb')
0 files changed, 0 insertions, 0 deletions