Created
July 14, 2009 13:34
-
-
Save drone29a/146934 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; Not too bad for a :once fixture | |
(defn test-ns-hook | |
[] | |
(init-db (fn [] (get-tests) | |
(put-tests)))) | |
;;; Gets ugly fast for :each fixtures | |
(defn test-ns-hook | |
[] | |
(init-db (fn [] (get-tests)) | |
(init-db (fn [] (put-tests))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment