class TestUnit::Generators::ControllerGenerator
Public Instance Methods
create_test_files()
click to toggle source
# File lib/rails/generators/test_unit/controller/controller_generator.rb, line 9 def create_test_files template 'functional_test.rb', File.join('test/functional', class_path, "#{file_name}_controller_test.rb") end