class WebConsole::Testing::FakeMiddleware

def req_path(env)

extract target path from REQUEST_PATH
def req_path(env)
  env["REQUEST_PATH"].match(@req_path_regex)[1]
end