diff --git a/leiningen-core/test/leiningen/core/test/project.clj b/leiningen-core/test/leiningen/core/test/project.clj index 84195acf3..1f3b2e74c 100755 --- a/leiningen-core/test/leiningen/core/test/project.clj +++ b/leiningen-core/test/leiningen/core/test/project.clj @@ -425,6 +425,10 @@ (init-project (read (.getFile (io/resource "p3.clj"))))) (is (= [] @errors)))) +(deftest test-certificates + (let [project {:certificates ["clojars.pem"]}] + (is (-> (init-project project) :certificates seq)))) + (deftest test-plugin-vars (are [project hooks middleware] (= (list hooks middleware) (map (partial plugin-vars project) [:hooks :middleware]))