aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/template/tag_helper_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/template/tag_helper_test.rb b/actionpack/test/template/tag_helper_test.rb
index e38c9beb8c..3d5e741cef 100644
--- a/actionpack/test/template/tag_helper_test.rb
+++ b/actionpack/test/template/tag_helper_test.rb
@@ -111,12 +111,12 @@ class TagHelperTest < ActionView::TestCase
def test_tag_does_not_honor_html_safe_double_quotes_as_attributes
assert_dom_equal '<p title="&quot;">content</p>',
- content_tag('p', "content", title: '"'.html_safe)
+ content_tag('p', "content", :title => '"'.html_safe)
end
def test_data_tag_does_not_honor_html_safe_double_quotes_as_attributes
assert_dom_equal '<p data-title="&quot;">content</p>',
- content_tag('p', "content", data: { title: '"'.html_safe })
+ content_tag('p', "content", :data => { :title => '"'.html_safe })
end
def test_skip_invalid_escaped_attributes