From 267fb61277ac960ad443d239febcb3136a007d24 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Tue, 13 Nov 2012 10:08:43 -0200 Subject: Revert "Use MiniTest in Ruby 1.8 if it is available." This reverts commit c3e186ec8dcb2ec26d5d56f3e89123b1350c4a6f. Reason: too many incompatibilities make a lot of Rails tests fail in 1.9. Might need more work to get this done properly in 3-2 if necessary. --- activesupport/lib/active_support/test_case.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'activesupport/lib/active_support') diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index 8f75cf98f4..8d6c27e381 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -9,9 +9,7 @@ require 'active_support/testing/mochaing' require 'active_support/core_ext/kernel/reporting' module ActiveSupport - test_library = defined?(MiniTest) ? ::MiniTest : ::Test - - class TestCase < test_library::Unit::TestCase + class TestCase < ::Test::Unit::TestCase if defined? MiniTest Assertion = MiniTest::Assertion alias_method :method_name, :name if method_defined? :name -- cgit v1.2.3