summaryrefslogtreecommitdiff
path: root/test/rss/test_parser.rb
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-29 02:54:21 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-29 02:54:21 +0000
commita84fc19203ff904c14d8e81065e342e3fb82e59f (patch)
tree06e749b6d4def33b1b692192b7c28537a52afda3 /test/rss/test_parser.rb
parent877408163a4d8725c24073784a5fee8511fdeb1e (diff)
* test/rss/test_*: do $: trick while searching a module in the current
directory. * test/xsd/test_xmlschemaparser.rb, test/wsdl/test_emptycomplextype.rb, test/soap/helloworld/test_helloworld.rb, test/soap/calc/{test_calc.rb,test_calc2.rb}: do File.expand_path before using __FILE__. * test/yaml/test_yaml.rb: assert_equals -> assert_equal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss/test_parser.rb')
-rw-r--r--test/rss/test_parser.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rss/test_parser.rb b/test/rss/test_parser.rb
index 5701413..a041c53 100644
--- a/test/rss/test_parser.rb
+++ b/test/rss/test_parser.rb
@@ -3,7 +3,10 @@
require "test/unit"
require "rss/parser"
require "rss/1.0"
+dir = File.dirname(File.expand_path(__FILE__))
+$:.push(dir)
require "common"
+$:.delete(dir)
class TestParser < Test::Unit::TestCase
include TestRSSMixin