module RSpec::Rails::ControllerExampleGroup

def method_missing(method, *args, &block)

this controller.
If method is a named_route, delegates to the RouteSet associated with
def method_missing(method, *args, &block)
  if @routes && @routes.named_routes.helpers.include?(method)
    controller.send(method, *args, &block)
  elsif defined?(@orig_routes) && @orig_routes && @orig_routes.named_routes.helpers.include?(method)
    controller.send(method, *args, &block)
  else
    super
  end
end