Class: TestUnit::Generators::InputGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- TestUnit::Generators::InputGenerator
- Includes:
- Upgrow::Generators::Helper
- Defined in:
- lib/generators/test_unit/input/input_generator.rb
Instance Method Summary collapse
Methods included from Upgrow::Generators::Helper
#class_name, included, #module_namespacing, #move_file, #namespace_content
Instance Method Details
#create_test_file ⇒ Object
10 11 12 13 |
# File 'lib/generators/test_unit/input/input_generator.rb', line 10 def create_test_file template('input_test.rb', File.join('test/inputs', class_path, "#{file_name}_input_test.rb")) end |