Class: Rspec::Generators::HelperGenerator Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Base ,
Rails::Generators::NamedBase
|
|
Instance Chain:
self,
Base ,
::RSpec::Rails::FeatureCheck ,
Rails::Generators::NamedBase
|
|
Inherits: |
Rspec::Generators::Base
|
Defined in: | rspec-rails/lib/generators/rspec/helper/helper_generator.rb |
Class Method Summary
Base
- Inherited
.configuration | Load configuration from |
.source_root |
Instance Method Summary
Instance Method Details
#generate_helper_spec
[ GitHub ]# File 'rspec-rails/lib/generators/rspec/helper/helper_generator.rb', line 9
def generate_helper_spec return unless [:helper_specs] template 'helper_spec.rb', target_path('helpers', class_path, "#{file_name}_helper_spec.rb") end