aboutsummaryrefslogtreecommitdiffstats
path: root/test/rexml/rexml_test_utils.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-17 13:31:16 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-17 13:31:16 +0000
commit146bf4fdafefc780d65f20c983d65f9cbe3bfe2d (patch)
tree4a738e18953b7bab6b063a7b1cc58cd668fbd974 /test/rexml/rexml_test_utils.rb
parentd357d7279ab23275b769b594a2c4670797afc353 (diff)
downloadruby-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/rexml_test_utils.rb')
-rw-r--r--test/rexml/rexml_test_utils.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/rexml/rexml_test_utils.rb b/test/rexml/rexml_test_utils.rb
new file mode 100644
index 0000000000..916e73674d
--- /dev/null
+++ b/test/rexml/rexml_test_utils.rb
@@ -0,0 +1,5 @@
+module REXMLTestUtils
+ def fixture_path(*components)
+ File.join(File.dirname(__FILE__), "data", *components)
+ end
+end