Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated test to reflect new app namespace

  • Loading branch information...
commit 2a2ac1e2ca505277ddcc7dbd6738cd7feaa8d44d 1 parent 2693aea
Zachary Kim authored March 10, 2013

Showing 1 changed file with 3 additions and 6 deletions. Show diff stats Hide diff stats

  1. 9  test/clj/nsfw/test/github.clj
9  test/clj/nsfw/test/github.clj
@@ -2,8 +2,8 @@
2 2
   (:use [nsfw.github] :reload)
3 3
   (:use [clojure.test])
4 4
   (:require [nsfw.server :as server]
5  
-            [nsfw.webapp :as webapp]
6  
-            [nsfw.html :as html]))
  5
+            [nsfw.html :as html]
  6
+            [nsfw.app :as app]))
7 7
 
8 8
 (deftest test-auth-redirect-url
9 9
   (is (= "https://github.com/login/oauth/authorize?client_id=c%2Fi&redirect_uri=r%2Fi&scope=f%2Fb%2Cbstate=s%2Fe"
@@ -104,13 +104,10 @@
104 104
                        [:div.email email]])])]]])})))
105 105
 
106 106
 (def entry-point
107  
-  (webapp/routes
  107
+  (app/route
108 108
    [""] (page :step1)
109 109
    ["exchange"] (page :step2)))
110 110
 
111 111
 (server/start :name server-name
112 112
               :port server-port
113 113
               :entry entry-point)
114  
-
115  
-
116  
-

0 notes on commit 2a2ac1e

Please sign in to comment.
Something went wrong with that request. Please try again.