From 5122bbb3c20cbc77b9a324c88852a9fcdcdbb333 Mon Sep 17 00:00:00 2001 From: Gaurish Sharma Date: Sat, 9 Nov 2013 02:36:24 +0530 Subject: [PATCH] Skip test which is broken on jruby This test is broken from quite a while & is expected to remain broken as encoding issues are hardest to fix in JRuby. so lets skip this test for now --- actionpack/test/dispatch/static_test.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/actionpack/test/dispatch/static_test.rb b/actionpack/test/dispatch/static_test.rb index 112f470786a0c..b640459e247b8 100644 --- a/actionpack/test/dispatch/static_test.rb +++ b/actionpack/test/dispatch/static_test.rb @@ -37,6 +37,10 @@ def test_serves_static_index_file_in_directory end def test_served_static_file_with_non_english_filename + if RUBY_ENGINE == 'jruby ' + skip "Stop skiping if following bug gets fixed: " \ + "http://jira.codehaus.org/browse/JRUBY-7192" + end assert_html "means hello in Japanese\n", get("/foo/#{Rack::Utils.escape("こんにちは.html")}") end