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_decorator_test ⇒ Object
10 11 12 |
# File 'lib/generators/test_unit/decorator_generator.rb', line 10 def create_decorator_test template "decorator_test.rb", File.join("test/decorators", class_path, "#{file_name}_decorator_test.rb") end |