class Rspec::Generators::ViewGenerator

def create_view_files

def create_view_files
  empty_directory File.join("spec", "views", file_path)
  actions.each do |action|
    @action = action
    template 'view_spec.rb',
             File.join("spec", "views", file_path, "#{@action}.html.#{options[:template_engine]}_spec.rb")
  end
end