aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/template')
-rw-r--r--actionpack/test/template/template_test.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/actionpack/test/template/template_test.rb b/actionpack/test/template/template_test.rb
index 70ca876c67..f3328b5dca 100644
--- a/actionpack/test/template/template_test.rb
+++ b/actionpack/test/template/template_test.rb
@@ -130,6 +130,17 @@ class TestERBTemplate < ActiveSupport::TestCase
# is set to something other than UTF-8, we don't
# get any errors and get back a UTF-8 String.
def test_default_external_works
+ if ENV['TRAVIS'] && RUBY_VERSION >= '1.9.3'
+ skip(
+ "There is currently a bug in Ruby trunk and in 1.9.3 which makes this test fail. " \
+ "Please see http://redmine.ruby-lang.org/issues/5564. " \
+ "Given there is no known generic workaround that this requires a fix in Ruby itself, " \
+ "this test is skipped on the CI for now so that we don't pollute the CI with failures. " \
+ "Jon Leighton is monitoring the bug report and will renable this test when a solution " \
+ "becomes available."
+ )
+ end
+
with_external_encoding "ISO-8859-1" do
@template = new_template("hello \xFCmlat")
assert_equal Encoding::UTF_8, render.encoding