Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Commit

Permalink
Fix for #7
Browse files Browse the repository at this point in the history
  • Loading branch information
bbozo committed Mar 26, 2014
1 parent 22962fc commit ede4145
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/minitest/metadata.rb
Expand Up @@ -31,6 +31,9 @@ def _compute_metadata(metadata)
}
end
end

# MiniTest 5 compatibility, https://github.com/wojtekmach/minitest-metadata/issues/7
alias_method :__name__, :name unless method_defined? :__name__
end
super
end
Expand Down

0 comments on commit ede4145

Please sign in to comment.