class TestUnit::Generators::ComponentGenerator
def create_test_file
def create_test_file template "component_test.rb", File.join("test/components", class_path, "#{file_name}_component_test.rb") end
def file_name
def file_name @_file_name ||= super.sub(/_component\z/i, "") end