aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/tag_helper_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Test to ensure content_tag works when fixing #17661Jon Atack2014-12-161-0/+5
| | | | | | | | | | | | | | | After c2fe093, which was reverted yesterday, there will likely be future PRs to address #17661. The test `actionview/test/template/capture_helper_test.rb #test_capture_returns_nil_if_the_returned_value_is_not_a_string` should have errored with c2fe093, but it was rewritten in the PR to not raise. My guess is that it may have seemed irrelevant to the content_tag tests or already covered by them. This test provides additional protection by being in the content_tag test suite to explicitly raise a red flag in future cases. It foregoes some redundancy for safety — at least until #17661 is closed.
* Regression test for #18024Santiago Pastorino2014-12-151-0/+5
|
* Revert "Re-enable capture'ing non-String values"Santiago Pastorino2014-12-151-5/+0
| | | | This reverts commit c2fe0938d7201d4ce0bb2f25e72bf5f70df128af.
* Re-enable capture'ing non-String valuesCarsten Zimmermann2014-12-141-0/+5
| | | | | | | This has been discussed in #17661 and partially reverts the changes made in 9de83050d3a4b260d4aeb5d09ec4eb64f913ba64 and 986cac73e3c56b3dfa22fd1464f6913e38d32cc3 The test case added to content_for acts as a regression / acceptance test.
* Add support for ARIA attributes in tagsPaoMar2014-09-031-0/+7
|
* Fix escape_once double-escaping hex-encoded entitiesJohn F. Douthat2014-07-021-0/+1
| | | | (This is a manual merge of #9102)
* In tag helper, honor html_safe on array parameters; also make safe_join more ↵Paul Grayson2014-06-121-0/+24
| | | | similar to Array.join by first calling flatten.
* Convert CDATA input to string before gsub'ingCarsten Zimmermann2013-10-291-0/+4
| | | | | Rails 3.2 API allowed arbitrary input for cdata_section; this change re-introduces the old behaviour.
* Move template tests from actionpack to actionviewPiotr Sarnacki2013-06-201-0/+130