class Rails::TestUnit::CompositeFilter

def ===(method)

minitest uses === to find matching filters.
def ===(method)
  @filters.any? { |filter| filter === method }
end