Class: IntegrationTestUnit::ControllerGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- IntegrationTestUnit::ControllerGenerator
- Defined in:
- lib/generators/integration_test_unit/controller/controller_generator.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#create_test_files ⇒ Object
10 11 12 13 |
# File 'lib/generators/integration_test_unit/controller/controller_generator.rb', line 10 def create_test_files template 'functional_test.rb', File.join('test/integration', class_path, "#{file_name}_test.rb") end |