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