Permalink
Browse files

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
  • Loading branch information...
1 parent c81af99 commit fb13b7a495c248479f77d42a55e1c3e47c78c49c @dhh dhh committed Jan 15, 2005
Showing with 0 additions and 30 deletions.
  1. +0 −2 actionpack/Rakefile
  2. +0 −2 activerecord/Rakefile
  3. +0 −24 activesupport/lib/std_ext/test_unit_ext.rb
  4. +0 −2 railties/fresh_rakefile
View
@@ -6,8 +6,6 @@ require 'rake/packagetask'
require 'rake/gempackagetask'
require 'rake/contrib/rubyforgepublisher'
-require 'lib/action_controller/support/std_ext/test_unit_ext' # temporary fix until test/unit is cured for 1.8.2
-
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
PKG_NAME = 'actionpack'
PKG_VERSION = '1.2.0' + PKG_BUILD
View
@@ -6,8 +6,6 @@ require 'rake/packagetask'
require 'rake/gempackagetask'
require 'rake/contrib/rubyforgepublisher'
-require 'lib/active_record/support/std_ext/test_unit_ext' # temporary fix until test/unit is cured for 1.8.2
-
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
PKG_NAME = 'activerecord'
PKG_VERSION = '1.4.0' + PKG_BUILD
@@ -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
View
@@ -7,8 +7,6 @@ $VERBOSE = nil
require File.dirname(__FILE__) + '/config/environment'
require 'code_statistics'
-require 'active_record/support/std_ext/test_unit_ext' # temporary fix until test/unit is cured for 1.8.2
-
desc "Run all the tests on a fresh test database"
task :default => [ :clone_structure_to_test, :test_units, :test_functional ]

0 comments on commit fb13b7a

Please sign in to comment.