Class: TestUnit::Generators::DecoratorGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- TestUnit::Generators::DecoratorGenerator
- Defined in:
- lib/generators/test_unit/decorator_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_test_file ⇒ Object
9 10 11 |
# File 'lib/generators/test_unit/decorator_generator.rb', line 9 def create_test_file template 'decorator_test.rb', File.join('test/decorators', class_path, "#{file_name}_decorator_test.rb") end |