class Rspec::Generators::ControllerGenerator
def generate_routing_spec
def generate_routing_spec return if actions.empty? return unless options[:routing_specs] template 'routing_spec.rb', target_path('routing', class_path, "#{file_name}_routing_spec.rb") end