diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2010-06-17 02:59:08 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-20 12:32:41 +0200 |
commit | f9abbf9a4d61fc4b9c2bcd178b548ebbdf7cdb76 (patch) | |
tree | 808dc34745da3dd97dfefab63495a743614b9d52 /actionpack/test | |
parent | 96f5e59a26329aa972b8061a818410b0b378f306 (diff) | |
download | rails-f9abbf9a4d61fc4b9c2bcd178b548ebbdf7cdb76.tar.gz rails-f9abbf9a4d61fc4b9c2bcd178b548ebbdf7cdb76.tar.bz2 rails-f9abbf9a4d61fc4b9c2bcd178b548ebbdf7cdb76.zip |
Adding missing test to autolink with other protocols (file) [#4886 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/text_helper_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/template/text_helper_test.rb b/actionpack/test/template/text_helper_test.rb index d173c5be0a..d22b9fe406 100644 --- a/actionpack/test/template/text_helper_test.rb +++ b/actionpack/test/template/text_helper_test.rb @@ -435,6 +435,7 @@ class TextHelperTest < ActionView::TestCase 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) |