diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-09-14 17:07:36 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-14 17:07:36 -0300 |
commit | 4269f71f59e936e8d7ff126bbae660c6c3410fd1 (patch) | |
tree | e4a0db02ff32650f7d168f134075e9d20fe5377a /actionpack | |
parent | 65b62f652ca564c3904e2d32d25e079090f3c78c (diff) | |
parent | f8e2fe4320bdc1f2c06dc77391239937b7fc9e68 (diff) | |
download | rails-4269f71f59e936e8d7ff126bbae660c6c3410fd1.tar.gz rails-4269f71f59e936e8d7ff126bbae660c6c3410fd1.tar.bz2 rails-4269f71f59e936e8d7ff126bbae660c6c3410fd1.zip |
Merge pull request #26495 from johnnyshields/fix-3-2-specs
[WIP] Fix tests for 3-2-stable
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/template/tag_helper_test.rb | 4 |
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=""">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=""">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 |