Class: Minitest::Generators::GeneratorGenerator
Overview
:nodoc:
Instance Method Summary collapse
Methods inherited from Base
default_source_root, #spec_expectation_monad, #test_file_type
Instance Method Details
#create_generator_files ⇒ Object
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 |