From 3f2ec19c219a55842a1c7f52e3b4b2bf7b5dbb7b Mon Sep 17 00:00:00 2001 From: Matthew Draper Date: Sat, 5 Jul 2014 03:56:19 +0930 Subject: Don't fail if unicode.org isn't talking to us --- activesupport/test/multibyte_conformance_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'activesupport/test/multibyte_conformance_test.rb') diff --git a/activesupport/test/multibyte_conformance_test.rb b/activesupport/test/multibyte_conformance_test.rb index 6ab8fa28ee..bdbdf0390a 100644 --- a/activesupport/test/multibyte_conformance_test.rb +++ b/activesupport/test/multibyte_conformance_test.rb @@ -36,6 +36,8 @@ class MultibyteConformanceTest < ActiveSupport::TestCase FileUtils.mkdir_p(CACHE_DIR) Downloader.download(UNIDATA_URL + UNIDATA_FILE, CACHE_DIR + UNIDATA_FILE) @proxy = ActiveSupport::Multibyte::Chars + rescue + skip "Unable to download test data" end def test_normalizations_C @@ -126,4 +128,4 @@ class MultibyteConformanceTest < ActiveSupport::TestCase def inspect_codepoints(str) str.to_s.unpack("U*").map{|cp| cp.to_s(16) }.join(' ') end -end \ No newline at end of file +end -- cgit v1.2.3