class TestUnit::Generators::ComponentGenerator

Public Instance Methods

create_test_file() click to toggle source
# 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}_test.rb")
end