aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2014-12-24 07:10:53 -0700
committerSean Griffin <sean@seantheprogrammer.com>2014-12-24 07:10:53 -0700
commitdbdb1040760c3a3ce8c336dab59f0603975b28ec (patch)
treee36ccdf08eab59574de2b45f78dfcc12abbf4acc /actionview/test
parent199390f33713fae8ae29c441f8d233832ba5cc20 (diff)
parentfecbed6fb136a2f951633bd5b9632e75cc46f804 (diff)
downloadrails-dbdb1040760c3a3ce8c336dab59f0603975b28ec.tar.gz
rails-dbdb1040760c3a3ce8c336dab59f0603975b28ec.tar.bz2
rails-dbdb1040760c3a3ce8c336dab59f0603975b28ec.zip
Merge pull request #18107 from mkdynamic/add-reply-to-mail-to
Add support for Reply-To field in mail_to helper
Diffstat (limited to 'actionview/test')
-rw-r--r--actionview/test/template/url_helper_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/test/template/url_helper_test.rb b/actionview/test/template/url_helper_test.rb
index e0678ae1f7..0d6f31af9b 100644
--- a/actionview/test/template/url_helper_test.rb
+++ b/actionview/test/template/url_helper_test.rb
@@ -493,8 +493,8 @@ class UrlHelperTest < ActiveSupport::TestCase
def test_mail_with_options
assert_dom_equal(
- %{<a href="mailto:me@example.com?cc=ccaddress%40example.com&amp;bcc=bccaddress%40example.com&amp;body=This%20is%20the%20body%20of%20the%20message.&amp;subject=This%20is%20an%20example%20email">My email</a>},
- 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.")
+ %{<a href="mailto:me@example.com?cc=ccaddress%40example.com&amp;bcc=bccaddress%40example.com&amp;body=This%20is%20the%20body%20of%20the%20message.&amp;subject=This%20is%20an%20example%20email&amp;reply-to=foo%40bar.com">My email</a>},
+ 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.", reply_to: "foo@bar.com")
)
end