class Rack::Test::Session

def self.new(app, default_host = DEFAULT_HOST) # :nodoc:

:nodoc:
def self.new(app, default_host = DEFAULT_HOST) # :nodoc:
  if app.is_a?(self)
    # Backwards compatibility for initializing with Rack::MockSession
    app
  else
    super
  end
end