Class: Rspec::Generators::LeointegrationGenerator
- Inherits:
-
IntegrationGenerator
- Object
- IntegrationGenerator
- Rspec::Generators::LeointegrationGenerator
- Includes:
- Leonardo::Leosca, Leonardo::Nested, Leonardo::Nested::Test
- Defined in:
- lib/generators/rspec/leointegration/leointegration_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_request_spec ⇒ Object
20 21 22 23 24 25 |
# File 'lib/generators/rspec/leointegration/leointegration_generator.rb', line 20 def generate_request_spec return unless [:request_specs] template 'request_spec.rb', File.join('spec/requests', class_path, base_namespaces, "#{table_name}_spec.rb") end |