Class: TestUnit::Generators::CallbacksGenerator

Inherits:
Guacamole::Generators::Base show all
Defined in:
lib/rails/generators/test_unit/callbacks/callbacks_generator.rb

Instance Method Summary collapse

Methods inherited from Guacamole::Generators::Base

source_root

Instance Method Details

#create_test_fileObject



8
9
10
# File 'lib/rails/generators/test_unit/callbacks/callbacks_generator.rb', line 8

def create_test_file
  template 'callbacks_test.rb.tt', File.join('test/callbacks', class_path, "#{file_name}_callbacks_test.rb")
end