Class: Interactor::Generators::RspecGenerator
- Inherits:
-
ActiveInteractor::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- ActiveInteractor::Generators::NamedBase
- Interactor::Generators::RspecGenerator
- Defined in:
- lib/rails/generators/interactor/rspec_generator.rb
Instance Method Summary collapse
Methods included from ActiveInteractor::Generators::Generator
Instance Method Details
#create_spec ⇒ Object
10 11 12 |
# File 'lib/rails/generators/interactor/rspec_generator.rb', line 10 def create_spec template 'rspec.erb', Rails.root.join('spec', app_dir_name, File.join(class_path), "#{file_name}_spec.rb") end |