Fork me on GitHub

hello, i'm having a problem testing a yada handler that receives arguments via request body

(let [request-body {:long-url ""}]
        (yada/response-for (a-yada-resource) :post "" {:body (json/generate-string request-body)})
this response in this test returns:
...  :body "No body present but body is expected fo
r request.\r\n\r\n{:status 400}\n
any idea what i'm doing wrong? I don't fully understand how to use the yada/response-for function. It worked for tests with url parameters, but not with parameters passed via the request body