From c20a74da4f6109e640590576b08228df3f953a38 Mon Sep 17 00:00:00 2001 From: Vishnu Atrai Date: Sat, 31 Dec 2011 13:52:37 +0530 Subject: [PATCH] MiniTest condition removed --- activesupport/lib/active_support/test_case.rb | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index 8d6c27e381b..707544e594d 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -10,15 +10,9 @@ require 'active_support/core_ext/kernel/reporting' module ActiveSupport class TestCase < ::Test::Unit::TestCase - if defined? MiniTest - Assertion = MiniTest::Assertion - alias_method :method_name, :name if method_defined? :name - alias_method :method_name, :__name__ if method_defined? :__name__ - else - Assertion = Test::Unit::AssertionFailedError - - undef :default_test - end + Assertion = MiniTest::Assertion + alias_method :method_name, :name if method_defined? :name + alias_method :method_name, :__name__ if method_defined? :__name__ $tags = {} def self.for_tag(tag)