method

tests

rails latest stable - Class: Rails::Generators::Testing::Behavior::ClassMethods
tests(klass)
public

Sets which generator should be tested:

tests AppGenerator