Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 5fa8c3b6db48c0be923e4572468493f162551336 1 parent 9880baa
Jeremy Kemper jeremy authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  activesupport/lib/active_support/test_case.rb
1  activesupport/lib/active_support/test_case.rb
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.