Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 7fe6002793fd14f57fc2d7bd4506c82afb18aec4 1 parent 9fb7003
@amatsuda amatsuda authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  activesupport/lib/active_support/test_case.rb
View
3  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)
Please sign in to comment.
Something went wrong with that request. Please try again.