class Rspec::Generators::ControllerGenerator
def generate_controller_spec
def generate_controller_spec return unless options[:controller_specs] template 'controller_spec.rb', target_path('controllers', class_path, "#{file_name}_controller_spec.rb") end