Skip to content

Instantly share code, notes, and snippets.

@petterik
Created February 26, 2013 04:14
Show Gist options
  • Save petterik/5035819 to your computer and use it in GitHub Desktop.
Save petterik/5035819 to your computer and use it in GitHub Desktop.
(defn run-db-tests [db]
(fact "should get password that gets stored"
(.put-password db "email" "password")
(.get-password db "email") => "password"))
(fact "all db tests should be true"
(every? true? (map run-db-tests [(memory/get-instance)])) => true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment