class TestUnit::Generators::CollectionGenerator

Public Instance Methods

create_test_file() click to toggle source
# File lib/rails/generators/test_unit/collection/collection_generator.rb, line 7
def create_test_file
  template 'collection_test.rb.tt', File.join('test/collections', class_path, "#{file_name}_collection_test.rb")
end