Permalink
Browse files

Merge branch 'master' of github.com:relevance/labrepl

  • Loading branch information...
2 parents c88b555 + 7849f6d commit be9c1cff52a7b5ae17328219249541c57c30eb7a @abedra abedra committed Aug 19, 2011
Showing with 16 additions and 0 deletions.
  1. +16 −0 test/labrepl/render_test.clj
@@ -0,0 +1,16 @@
+(ns labrepl.render-test
+ (:use clojure.test
+ labrepl labrepl.util))
+
+(deftest render-the-labs
+ []
+ (doseq [lab all]
+ (let [url (lab-url lab)
+ resp (application {:request-method :get
+ :uri url})]
+ (is
+ (= {:status 200
+ :headers
+ {"Content-Type" "text/html"}}
+ (select-keys resp
+ [:status :headers]))))))

0 comments on commit be9c1cf

Please sign in to comment.