Permalink
Browse files

MiniTest::Spec shipped with Ruby >= 1.9.3 always responds_to __name__

  • Loading branch information...
1 parent 9fb7003 commit 7fe6002793fd14f57fc2d7bd4506c82afb18aec4 @amatsuda amatsuda committed Jun 6, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 activesupport/lib/active_support/test_case.rb
@@ -22,8 +22,7 @@ class << self
end
Assertion = MiniTest::Assertion
- alias_method :method_name, :name if method_defined? :name
- alias_method :method_name, :__name__ if method_defined? :__name__
+ alias_method :method_name, :__name__
$tags = {}
def self.for_tag(tag)

0 comments on commit 7fe6002

Please sign in to comment.