aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/multibyte_conformance_test.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2014-07-05 03:56:19 +0930
committerMatthew Draper <matthew@trebex.net>2014-07-05 03:56:19 +0930
commit3f2ec19c219a55842a1c7f52e3b4b2bf7b5dbb7b (patch)
treea20adb22a633918c63bbd3d2a196e6f22f7635c9 /activesupport/test/multibyte_conformance_test.rb
parentd02794e3749593f833847710e9807ca65b86a46f (diff)
downloadrails-3f2ec19c219a55842a1c7f52e3b4b2bf7b5dbb7b.tar.gz
rails-3f2ec19c219a55842a1c7f52e3b4b2bf7b5dbb7b.tar.bz2
rails-3f2ec19c219a55842a1c7f52e3b4b2bf7b5dbb7b.zip
Don't fail if unicode.org isn't talking to us
Diffstat (limited to 'activesupport/test/multibyte_conformance_test.rb')
-rw-r--r--activesupport/test/multibyte_conformance_test.rb4
1 files changed, 3 insertions, 1 deletions
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