This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.
spec_type(desc)
Figure out the spec class to use based on a spec’s description. Eg:
spec_type("BlahController") # => MiniTest::Spec::Rails
# File lib/minitest/spec.rb, line 134 def spec_type desc TYPES.find { |matcher, klass| if matcher.respond_to? :call then matcher.call desc else matcher === desc.to_s end }.last end