Class: Rspec::Generators::IntegrationGenerator
- Inherits:
-
Base
- Object
- Rails::Generators::NamedBase
- Base
- Rspec::Generators::IntegrationGenerator
- Defined in:
- lib/generators/rspec/integration/integration_generator.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#generate_request_spec ⇒ Object
10 11 12 13 14 15 |
# File 'lib/generators/rspec/integration/integration_generator.rb', line 10 def generate_request_spec return unless [:request_specs] template 'request_spec.rb', File.join('spec/requests', class_path, "#{table_name}_spec.rb") end |