Skip to content

Instantly share code, notes, and snippets.

@jaycfields
Created October 31, 2012 18:25
Show Gist options
  • Save jaycfields/3988880 to your computer and use it in GitHub Desktop.
Save jaycfields/3988880 to your computer and use it in GitHub Desktop.
interaction passing
(ns blog-expectations
(:use expectations))
(expect (interaction (spit "/tmp/hello-world" "some data" :append true))
(do
(spit "/tmp/somewhere-else" "nil")
(spit "/tmp/hello-world" "some data" :append true)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment