method

spec_type

v1_9_3_392 - Show latest stable - Class: MiniTest::Spec
spec_type(desc)
public

Figure out the spec class to use based on a spec’s description. Eg:

spec_type("BlahController") # => MiniTest::Spec::Rails