Class: TestUnit::Generators::Operations::SetupGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/test_unit/generators/operations/setup_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_initializer_fileObject



7
8
9
10
# File 'lib/test_unit/generators/operations/setup_generator.rb', line 7

def copy_initializer_file
  initializer "operation_generators-test_unit.rb",
              File.read(File.expand_path("setup/templates/generators.rb.tt", __dir__))
end