class Rspec::Generators::IntegrationGenerator

def generate_request_spec

def generate_request_spec
  return unless options[:request_specs]
  RSpec.deprecate("the --webrat-matchers option", :replacement => nil) if options[:webrat_matchers]
  RSpec.deprecate("the --webrat option", :replacement => nil) if options[:webrat]
  template 'request_spec.rb',
           File.join('spec/requests', class_path, "#{table_name}_spec.rb")
end