From a84fc19203ff904c14d8e81065e342e3fb82e59f Mon Sep 17 00:00:00 2001 From: nahi Date: Thu, 29 Jan 2004 02:54:21 +0000 Subject: * 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 --- test/rss/test_syndication.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/rss/test_syndication.rb') diff --git a/test/rss/test_syndication.rb b/test/rss/test_syndication.rb index 80659e1e69..a9e1f45c33 100644 --- a/test/rss/test_syndication.rb +++ b/test/rss/test_syndication.rb @@ -6,7 +6,10 @@ require "rexml/document" require "rss/parser" require "rss/syndication" +dir = File.dirname(File.expand_path(__FILE__)) +$:.push(dir) require "common" +$:.delete(dir) class TestSyndication < Test::Unit::TestCase include TestRSSMixin -- cgit v1.2.3