Skip to content

Instantly share code, notes, and snippets.

@jaycfields
Created October 31, 2012 19:49
Show Gist options
  • Save jaycfields/3989376 to your computer and use it in GitHub Desktop.
Save jaycfields/3989376 to your computer and use it in GitHub Desktop.
let it out
(ns blog-expectations
(:use expectations)
(:import [org.joda.time DateTime]))
(defn timestamp-event [m t]
(assoc m :time t))
(expect-let [now (DateTime.)]
{:time now}
(timestamp-event {} now))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment