Permalink
Browse files

Adding missing test to autolink with other protocols (file) [#4886 st…

…ate:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 96f5e59 commit f9abbf9a4d61fc4b9c2bcd178b548ebbdf7cdb76 @carlosantoniodasilva carlosantoniodasilva committed with josevalim Jun 17, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/test/template/text_helper_test.rb
@@ -435,6 +435,7 @@ def test_auto_link_other_protocols
z39_scheme = 'z39.50r://host:696/db'
chrome_scheme = 'chrome://package/section/path'
view_source = 'view-source:http://en.wikipedia.org/wiki/URI_scheme'
+ assert_equal generate_result(file_scheme), auto_link(file_scheme)
assert_equal generate_result(z39_scheme), auto_link(z39_scheme)
assert_equal generate_result(chrome_scheme), auto_link(chrome_scheme)
assert_equal generate_result(view_source), auto_link(view_source)

0 comments on commit f9abbf9

Please sign in to comment.