module RSpec::Rails::ControllerExampleGroup::ClassMethods

def self.name

def self.name
  root_controller = defined?(ApplicationController) ? ApplicationController : ActionController::Base
  if superclass == root_controller || superclass.abstract?
    "AnonymousController"
  else
    superclass.name
  end
end