aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/test_case.rb
diff options
context:
space:
mode:
authorVishnu Atrai <me@vishnuatrai.com>2011-12-31 13:52:37 +0530
committerVishnu Atrai <me@vishnuatrai.com>2011-12-31 13:52:37 +0530
commitc20a74da4f6109e640590576b08228df3f953a38 (patch)
tree5eeee6d1320886bec53ef9032475ffa9f2a5a08c /activesupport/lib/active_support/test_case.rb
parent226528dfccb363b8d9007cc31ba87560565b530d (diff)
downloadrails-c20a74da4f6109e640590576b08228df3f953a38.tar.gz
rails-c20a74da4f6109e640590576b08228df3f953a38.tar.bz2
rails-c20a74da4f6109e640590576b08228df3f953a38.zip
MiniTest condition removed
Diffstat (limited to 'activesupport/lib/active_support/test_case.rb')
-rw-r--r--activesupport/lib/active_support/test_case.rb12
1 files changed, 3 insertions, 9 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb
index 8d6c27e381..707544e594 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)