class Rspec::Generators::ScaffoldGenerator

def copy_controller_files

def copy_controller_files
  return unless options[:controller_specs]
  template 'controller_spec.rb',
           File.join('spec/controllers', controller_class_path, "#{controller_file_name}_controller_spec.rb")
end