Class: Rspec::Generators::OperationGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Rspec::Generators::OperationGenerator
- Defined in:
- lib/generators/rspec/operation/operation_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_files ⇒ Object
7 8 9 |
# File 'lib/generators/rspec/operation/operation_generator.rb', line 7 def copy_files template 'operation_spec.rb.erb', File.join('spec/operations', class_path, "#{file_name}_spec.rb") end |