diff options
author | Johnny Shields <johnny.shields@gmail.com> | 2016-09-15 05:06:05 +0900 |
---|---|---|
committer | Johnny Shields <johnny.shields@gmail.com> | 2016-09-15 05:06:05 +0900 |
commit | f8e2fe4320bdc1f2c06dc77391239937b7fc9e68 (patch) | |
tree | e4a0db02ff32650f7d168f134075e9d20fe5377a /actionpack/test | |
parent | 65b62f652ca564c3904e2d32d25e079090f3c78c (diff) | |
download | rails-f8e2fe4320bdc1f2c06dc77391239937b7fc9e68.tar.gz rails-f8e2fe4320bdc1f2c06dc77391239937b7fc9e68.tar.bz2 rails-f8e2fe4320bdc1f2c06dc77391239937b7fc9e68.zip |
Fix failing tests on 3-2-stable branch:
- Set sudo: false in .travis.yml which uses latest travis engine and fixes some failing specs
- Use older version of gems in Gemfile if RUBY_VERSION < '1.9.3' (no change to .gemspec)
- Fix two cases of hash rockets in tests (required for Ruby 1.8.7)
- Skip failing test "test_ensure_that_migration_tasks_work_with_mountable_option" which breaks due to Bundler no longer accepting the default generated .gemspec format.
- Skip railties specs on Ruby 1.8.7 (mark as an allowed failure.)
Diffstat (limited to 'actionpack/test')
-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 |