diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-17 13:31:16 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-17 13:31:16 +0000 |
commit | 146bf4fdafefc780d65f20c983d65f9cbe3bfe2d (patch) | |
tree | 4a738e18953b7bab6b063a7b1cc58cd668fbd974 /test/rexml/test_lightparser.rb | |
parent | d357d7279ab23275b769b594a2c4670797afc353 (diff) | |
download | ruby-146bf4fdafefc780d65f20c983d65f9cbe3bfe2d.tar.gz |
* test/rexml/: fix fixture data path. All REXML tests are worked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml/test_lightparser.rb')
-rw-r--r-- | test/rexml/test_lightparser.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/rexml/test_lightparser.rb b/test/rexml/test_lightparser.rb index 14dcdc21e7..e0d44231c6 100644 --- a/test/rexml/test_lightparser.rb +++ b/test/rexml/test_lightparser.rb @@ -1,10 +1,11 @@ -require 'test/unit/testcase' +require 'rexml_test_utils' require 'rexml/parsers/lightparser' class LightParserTester < Test::Unit::TestCase + include REXMLTestUtils include REXML def test_parsing - f = File.new( "test/data/documentation.xml" ) + f = File.new(fixture_path("documentation.xml")) parser = REXML::Parsers::LightParser.new( f ) root = parser.parse end |