aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/text_helper_test.rb
diff options
context:
space:
mode:
authorThomas Fuchs <thomas@fesch.at>2007-01-21 21:41:44 +0000
committerThomas Fuchs <thomas@fesch.at>2007-01-21 21:41:44 +0000
commit8e82e2901004c3604da74d23220e7fc241aba739 (patch)
treeac4752bd3235e1ada2d215eb23a157d3d2dd4fe3 /actionpack/test/template/text_helper_test.rb
parent0f8ed48bf5c8882f413e914fc64ce0d1c60cbbcb (diff)
downloadrails-8e82e2901004c3604da74d23220e7fc241aba739.tar.gz
rails-8e82e2901004c3604da74d23220e7fc241aba739.tar.bz2
rails-8e82e2901004c3604da74d23220e7fc241aba739.zip
Make TextHelper::auto_link recognize URLs with colons in path correctly, fixes #7268
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/template/text_helper_test.rb')
-rw-r--r--actionpack/test/template/text_helper_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/test/template/text_helper_test.rb b/actionpack/test/template/text_helper_test.rb
index 49f5160711..a8b566cb85 100644
--- a/actionpack/test/template/text_helper_test.rb
+++ b/actionpack/test/template/text_helper_test.rb
@@ -131,7 +131,9 @@ class TextHelperTest < Test::Unit::TestCase
http://www.rubyonrails.com/contact;new
http://www.rubyonrails.com/contact;new%20with%20spaces
http://www.rubyonrails.com/contact;new?with=query&string=params
- http://www.rubyonrails.com/~minam/contact;new?with=query&string=params)
+ http://www.rubyonrails.com/~minam/contact;new?with=query&string=params
+ http://en.wikipedia.org/wiki/Wikipedia:Today%27s_featured_picture_%28animation%29/January_20%2C_2007
+ )
urls.each do |url|
assert_equal %(<a href="#{url}">#{url}</a>), auto_link(url)