Class: Minitest::Generators::GeneratorGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/generators/minitest/generator/generator_generator.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from Base

default_source_root, #spec_expectation_monad, #test_file_type

Instance Method Details

#create_generator_filesObject



13
14
15
# File 'lib/generators/minitest/generator/generator_generator.rb', line 13

def create_generator_files
  template "generator_#{test_file_type}.rb", File.join("test/lib/generators", class_path, "#{file_name}_generator_test.rb")
end