class Rspec::Generators::RequestGenerator
def generate_request_spec
def generate_request_spec return unless options[:request_specs] template 'request_spec.rb', target_path('requests', "#{name.underscore.pluralize}_spec.rb") end
def generate_request_spec return unless options[:request_specs] template 'request_spec.rb', target_path('requests', "#{name.underscore.pluralize}_spec.rb") end