Class: TestUnit::Generators::OperationGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- TestUnit::Generators::OperationGenerator
- Defined in:
- lib/generators/test_unit/operation/operation_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_files ⇒ Object
7 8 9 |
# File 'lib/generators/test_unit/operation/operation_generator.rb', line 7 def copy_files template 'operation_test.rb.erb', File.join('test/operations', class_path, "#{file_name}_test.rb") end |