提交 d3a2c0e1 编写于 作者: S Santiago Pastorino

Merge pull request #4242 from castlerock/remove_condition_for_MiniTest

MiniTest condition removed
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册