Class: Rspec::Generators::CallbacksGenerator
- Inherits:
-
Guacamole::Generators::Base
- Object
- Rails::Generators::NamedBase
- Guacamole::Generators::Base
- Rspec::Generators::CallbacksGenerator
- Defined in:
- lib/rails/generators/rspec/callbacks/callbacks_generator.rb
Instance Method Summary collapse
Methods inherited from Guacamole::Generators::Base
Instance Method Details
#create_collection_spec ⇒ Object
8 9 10 |
# File 'lib/rails/generators/rspec/callbacks/callbacks_generator.rb', line 8 def create_collection_spec template 'callbacks_spec.rb.tt', File.join('spec/callbacks', class_path, "#{file_name}_callbacks_spec.rb") end |