Skip to content
Browse files

MiniTest condition removed

  • Loading branch information...
1 parent 226528d commit c20a74da4f6109e640590576b08228df3f953a38 @vatrai vatrai committed
Showing with 3 additions and 9 deletions.
  1. +3 −9 activesupport/lib/active_support/test_case.rb
View
12 activesupport/lib/active_support/test_case.rb
@@ -10,15 +10,9 @@
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)

0 comments on commit c20a74d

Please sign in to comment.
Something went wrong with that request. Please try again.