Method: TestUnit::Generators::ComponentGenerator#create_test_file

Defined in:
lib/rails/generators/test_unit/component_generator.rb

#create_test_fileObject



9
10
11
# File 'lib/rails/generators/test_unit/component_generator.rb', line 9

def create_test_file
  template "component_test.rb", File.join("test/components", class_path, "#{file_name}_component_test.rb")
end