Created
August 20, 2015 08:00
-
-
Save dainiusjocas/df690f8100d4de6941ec to your computer and use it in GitHub Desktop.
Midje JSON body request
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
(ns project.ns-test | |
(:require [ring.mock.request :as rr])) | |
(rr/body | |
(rr/content-type | |
(rr/request :post "/do") | |
"application/json") | |
(ch/generate-string [{:name "Name" | |
:countryCode "US"}])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment