module Rails::Generators::Testing::Behaviour::ClassMethods
def arguments(array)
invoking it.
Sets default arguments on generator invocation. This can be overwritten when
def arguments(array) self.default_arguments = array end
def destination(path)
Sets the destination of generator files:
def destination(path) self.destination_root = path end
def tests(klass)
Sets which generator should be tested:
def tests(klass) self.generator_class = klass end