Permalink
Browse files

MiniTest::Unit#method_name alias for Test::Unit compat

  • Loading branch information...
1 parent 9880baa commit 5fa8c3b6db48c0be923e4572468493f162551336 @jeremy jeremy committed Nov 27, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 activesupport/lib/active_support/test_case.rb
@@ -17,6 +17,7 @@ module ActiveSupport
class TestCase < ::Test::Unit::TestCase
if defined? MiniTest
Assertion = MiniTest::Assertion
+ alias_method :method_name, :name
else
# TODO: Figure out how to get the Rails::BacktraceFilter into minitest/unit
if defined?(Rails)

0 comments on commit 5fa8c3b

Please sign in to comment.