seattlerb/minitest-excludes — pull request #1 by headius (2012-01-25 15:14:03+00:00)
Title: Minor fixes for excludes

+ use undef_method since remove_method does not pick up superclasses

At least one MRI test (ruby/test_file.rb) and others I've seen in the wild include a module to get some of their tests. remove_method will not remove methods from an included module. undef_method works ok.

+ add file to excludes instance_eval, for better error reporting

When there's an error in the excludes file, it currently only reports "(eva)", making it difficult to diagnose. This change simply adds the filename to the instance_eval call.