Class: TestUnit::Generators::CellGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/rails/generators/test_unit/cell/cell_generator.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#create_test_fileObject


10
11
12
# File 'lib/rails/generators/test_unit/cell/cell_generator.rb', line 10

def create_test_file
  template 'unit_test.rb.erb', File.join('test/cells', class_path, "#{file_name}_cell_test.rb")
end