aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/url_helper_test.rb
diff options
context:
space:
mode:
authorKalys Osmonov <kalys@osmonov.com>2012-09-03 15:42:24 +0600
committerKalys Osmonov <kalys@osmonov.com>2012-09-09 19:48:32 +0600
commit6b2a24c3bd7ed75326dec50decf6018b3685f113 (patch)
tree3ff4a50c810aaf59fb2d213ead6ad511c41dcfa1 /actionpack/test/template/url_helper_test.rb
parent5d264f229c3798367e445d1ca02f3910ad9db547 (diff)
downloadrails-6b2a24c3bd7ed75326dec50decf6018b3685f113.tar.gz
rails-6b2a24c3bd7ed75326dec50decf6018b3685f113.tar.bz2
rails-6b2a24c3bd7ed75326dec50decf6018b3685f113.zip
&#39 dates back to SGML when &#x27 was introduced in HTML 4.0
Diffstat (limited to 'actionpack/test/template/url_helper_test.rb')
-rw-r--r--actionpack/test/template/url_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/url_helper_test.rb b/actionpack/test/template/url_helper_test.rb
index 9c4271f19b..134177d74d 100644
--- a/actionpack/test/template/url_helper_test.rb
+++ b/actionpack/test/template/url_helper_test.rb
@@ -244,7 +244,7 @@ class UrlHelperTest < ActiveSupport::TestCase
def test_link_tag_with_custom_onclick
link = link_to("Hello", "http://www.example.com", :onclick => "alert('yay!')")
- expected = %{<a href="http://www.example.com" onclick="alert(&#x27;yay!&#x27;)">Hello</a>}
+ expected = %{<a href="http://www.example.com" onclick="alert(&#39;yay!&#39;)">Hello</a>}
assert_dom_equal expected, link
end