Skip to content

Instantly share code, notes, and snippets.

@jaycfields
Created November 3, 2012 13:22
Show Gist options
  • Save jaycfields/4007372 to your computer and use it in GitHub Desktop.
Save jaycfields/4007372 to your computer and use it in GitHub Desktop.
what's the what's the scenario
(ns blog-expectations
(:use expectations.scenarios))
(scenario
;;; real tests will call domain code,
;;; I avoid that here for simplicity
(let [x [1 2]
y (map-indexed vector x)]
(expect vector? x)
(expect [0 1] (first y))
(expect java.util.List y)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment