From 9a3a7d7f5030359c04df14927bea68e122a647be Mon Sep 17 00:00:00 2001 From: Brit Butler Date: Sun, 21 Apr 2013 14:27:08 -0400 Subject: [PATCH] Add a sanity test to prevent future embarrassment. --- plugins/mathjax.lisp | 4 +++- tests/tests.lisp | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/plugins/mathjax.lisp b/plugins/mathjax.lisp index ce1d0a2..c025c80 100644 --- a/plugins/mathjax.lisp +++ b/plugins/mathjax.lisp @@ -5,7 +5,9 @@ #:content #:index #:content-tags - #:index-posts)) + #:index-posts + #:make-tag + #:tag-slug=)) (in-package :coleslaw-mathjax) diff --git a/tests/tests.lisp b/tests/tests.lisp index 75b39d1..45a16c0 100644 --- a/tests/tests.lisp +++ b/tests/tests.lisp @@ -1 +1,13 @@ (in-package :coleslaw-tests) + +(defmacro deftest (name docstring &body body) + `(test ,name + ,docstring + ,@body)) + +(def-suite coleslaw-tests) +(in-suite coleslaw-tests) + +(deftest sanity-test + "A blog should compile and deploy correctly." + (is (zerop (coleslaw:main nil))))