rails/actionview/test
Lucas Mazza 9f27e1076a 'TextHelper#highlight' now accepts a block to highlight the matched words.
The helper will yield each matched word, and you can use this instead of the
':highlighter' option for more complex replacing logic:

  highlight('My email is me@work.com', EMAIL_REGEXP) { |m| mail_to(m) }
  # => 'My email is <a href="mailto:me@work.com">me@work.com</a>'
2014-06-19 15:22:23 -03:00
..
actionpack Merge pull request #15590 from zuhao/refactor_actionview_register_template_handler 2014-06-12 14:06:59 +02:00
activerecord fix bad merge 2014-05-12 18:08:41 -07:00
fixtures Ensure LookupContext in Digestor selects correct variant 2014-03-09 08:47:17 +01:00
lib/controller Moved viewpathstest into actionview/test/actionpack/controller 2013-10-09 20:09:33 +02:00
template 'TextHelper#highlight' now accepts a block to highlight the matched words. 2014-06-19 15:22:23 -03:00
tmp Add tmp dir in actionview/test/ 2013-08-05 01:24:14 +05:30
abstract_unit.rb Remove unnecessary include for integration tests. 2014-05-11 16:02:12 -07:00
active_record_unit.rb Move template tests from actionpack to actionview 2013-06-20 17:23:16 +02:00