class Rspec::Generators::ControllerGenerator

def generate_request_spec

def generate_request_spec
  return unless options[:request_specs]
  template 'request_spec.rb',
           target_path('requests', class_path, "#{file_name}_spec.rb")
end