test path should be pointed by :test-path key

This commit is contained in:
Rob Wolfe 2010-01-21 21:31:22 +01:00 committed by Phil Hagelberg
parent 8789acc130
commit 4cce1fafea

View file

@ -14,7 +14,7 @@
tests for. If none are given, runs them all."
[project & namespaces]
(let [namespaces (if (empty? namespaces)
(find-namespaces-in-dir (file (:root project) "test"))
(find-namespaces-in-dir (file (:test-path project)))
(map symbol namespaces))]
;; It's long and a bit hairy because it has to be self-contained.
(eval-in-project