 
 (deftest default-handler-save-test
   (with-redefs [handle/persist mock-persist]
-    (let [resp (#'gorilla-repl.route/default-handler
+    (let [resp (#'pinkgorilla.route/default-handler
                  (mock/request :post "/save" {:worksheet-data     "dummy"
                                               :worksheet-filename "foobar.clj"}))
           status (:status resp)


(deftest default-handler-load-test
  (with-redefs [handle/read-sheet-locally mock-read-sheet-locally]
    (let [resp (#'gorilla-repl.route/default-handler
                 (mock/request :get "/load?worksheet-filename=gorilla_repl%2Fhandle_test.clj"))
          status (:status resp)
          headers (:headers resp)

(ns gorilla-repl.handle-test
  (:require [ring.mock.request :as mock]
            [clojure.java.io :as io]
            [pinkgorilla.handle :as handle]
            [pinkgorilla.route :refer :all])
  (:use clojure.test))

;; TODO: How about the repl websocket handler?
