Class: TestUnit::Generators::CollectionGenerator
- Inherits:
-
Guacamole::Generators::Base
- Object
- Rails::Generators::NamedBase
- Guacamole::Generators::Base
- TestUnit::Generators::CollectionGenerator
- Defined in:
- lib/rails/generators/test_unit/collection/collection_generator.rb
Instance Method Summary collapse
Methods inherited from Guacamole::Generators::Base
Instance Method Details
#create_test_file ⇒ Object
8 9 10 |
# File 'lib/rails/generators/test_unit/collection/collection_generator.rb', line 8 def create_test_file template 'collection_test.rb.tt', File.join('test/collections', class_path, "#{file_name}_collection_test.rb") end |