Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (32 sloc) 0.921 kb
(environment :dev (fn []))
(method :post)
(header "Content-Type" "application/json")
(before (fn [config]
;; Perform a POST to authenticate, for example
(add-cookie config "SESSION" (-> :cookie-jar response (get "SESSION_ID")))
(after (fn []))
"payment recipient list"
(url "/recipients"))
(should_have :path "$..recipients" :of_type :array)
(should_have :path "$..recipients[*].name", :equal_to "")
(should_have :path "$.name", :matching #"\w+\w+")))
"Creating a new send money transaction"
"create transaction"
:named submit_tx
(definition ...)
(clauses ...))
"verify transaction details"
(url "...")
(body {
:transactionid (:transaction_id submit_tx)}))
(should_have :path "", :of_type :string)))))
Jump to Line
Something went wrong with that request. Please try again.