diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-15 20:55:19 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-15 20:55:19 +0000 |
commit | fb13b7a495c248479f77d42a55e1c3e47c78c49c (patch) | |
tree | 988b8cd610718cf319a666dda752b99ea6d55a79 /activesupport | |
parent | c81af992e84169e7e462a99dd1f86b96eff7d345 (diff) | |
download | rails-fb13b7a495c248479f77d42a55e1c3e47c78c49c.tar.gz rails-fb13b7a495c248479f77d42a55e1c3e47c78c49c.tar.bz2 rails-fb13b7a495c248479f77d42a55e1c3e47c78c49c.zip |
Removed the Ruby 1.8.2 test/unit fix as it didnt work anyway
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/std_ext/test_unit_ext.rb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/activesupport/lib/std_ext/test_unit_ext.rb b/activesupport/lib/std_ext/test_unit_ext.rb deleted file mode 100644 index abba7f5ff8..0000000000 --- a/activesupport/lib/std_ext/test_unit_ext.rb +++ /dev/null @@ -1,24 +0,0 @@ -# Bug fix for using Ruby 1.8.2 and Rake together to run tests. -require 'test/unit' - -module Test - module Unit - module Collector - class Dir - def collect_file(name, suites, already_gathered) - dir = File.dirname(File.expand_path(name)) - $:.unshift(dir) unless $:.first == dir - if(@req) - @req.require(name) - else - require(name) - end - find_test_cases(already_gathered).each{|t| add_suite(suites, t.suite)} - rescue LoadError, SystemExit - ensure - $:.delete_at $:.rindex(dir) - end - end - end - end -end |