compojure-template
compojure-template copied to clipboard
Compojure project template for Leiningen
Expected and actual values were mixed in the handler_test.clj template. To demonstrate this, after creating a new compojure project I changed the expected value for the response body: ``` $ ...
Provide user with instructions for creating and running deployable jar file. In days-gone-by, users had to set up a `-main` and manually call run-jetty.
The convention for clojure.test is `(is (= expected actual))`, which is the reverse of what the template uses in handler_test.clj. This commit switches the arguments to `=` so that failures...