class Rspec::Generators::ScaffoldGenerator

def copy_view(view)

def copy_view(view)
  template "#{view}_spec.rb",
           File.join("spec/views", controller_file_path, "#{view}.html.#{options[:template_engine]}_spec.rb")
end