From ab9f32442318ab306df3c5282da56e50cf807d8a Mon Sep 17 00:00:00 2001 From: Nicholas Seckar Date: Sun, 19 Mar 2006 17:03:02 +0000 Subject: Undo accidental escaping for mail_to; add regression test. Fix incorrect credit in changelog. Closes #4202. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/url_helper_test.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actionpack/test/template') diff --git a/actionpack/test/template/url_helper_test.rb b/actionpack/test/template/url_helper_test.rb index 95b9373c7f..2c7a526315 100644 --- a/actionpack/test/template/url_helper_test.rb +++ b/actionpack/test/template/url_helper_test.rb @@ -193,6 +193,10 @@ class UrlHelperTest < Test::Unit::TestCase mail_to("me@example.com", "My email", :cc => "ccaddress@example.com", :bcc => "bccaddress@example.com", :subject => "This is an example email", :body => "This is the body of the message.") ) end + + def test_mail_to_with_img + assert_dom_equal %(), mail_to('feedback@example.com', '') + end def test_mail_to_with_hex assert_dom_equal "My email", mail_to("me@domain.com", "My email", :encode => "hex") -- cgit v1.2.3