summaryrefslogtreecommitdiff
path: root/test/rexml/test_order.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-24 00:43:44 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-24 00:43:44 +0000
commit9da7920d6b3df25509eef26123edc2502c849a1d (patch)
tree98bee043d3bdb1b375a435ecdf8406dfe3d42478 /test/rexml/test_order.rb
parentd021b311b8c1a54c08cc4ec98bcb7e2e93a9320a (diff)
Refix to give the encoding of gzfile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml/test_order.rb')
-rw-r--r--test/rexml/test_order.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rexml/test_order.rb b/test/rexml/test_order.rb
index 2efb1d7..2b66d3a 100644
--- a/test/rexml/test_order.rb
+++ b/test/rexml/test_order.rb
@@ -43,7 +43,7 @@ END
end
# Provided by Tom Talbott
def test_more_ordering
- doc = REXML::Document.new(Zlib::GzipReader.new(File.new(fixture_path('LostineRiver.kml.gz'),'r:utf-8')))
+ doc = REXML::Document.new(Zlib::GzipReader.new(File.new(fixture_path('LostineRiver.kml.gz')), encoding: 'utf-8'))
actual = [
"Head south from Phinney Ave N",
"Turn left at N 36th St",