Permalink
Browse files

Updated test to reflect new app namespace

  • Loading branch information...
1 parent 2693aea commit 2a2ac1e2ca505277ddcc7dbd6738cd7feaa8d44d @zk committed Mar 11, 2013
Showing with 3 additions and 6 deletions.
  1. +3 −6 test/clj/nsfw/test/github.clj
@@ -2,8 +2,8 @@
(:use [nsfw.github] :reload)
(:use [clojure.test])
(:require [nsfw.server :as server]
- [nsfw.webapp :as webapp]
- [nsfw.html :as html]))
+ [nsfw.html :as html]
+ [nsfw.app :as app]))
(deftest test-auth-redirect-url
(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 @@
[:div.email email]])])]]])})))
(def entry-point
- (webapp/routes
+ (app/route
[""] (page :step1)
["exchange"] (page :step2)))
(server/start :name server-name
:port server-port
:entry entry-point)
-
-
-

0 comments on commit 2a2ac1e

Please sign in to comment.