Skip to content

Instantly share code, notes, and snippets.

@joshrp
Created March 8, 2015 11:40
Show Gist options
  • Save joshrp/17f9013812f05a9e6c32 to your computer and use it in GitHub Desktop.
Save joshrp/17f9013812f05a9e6c32 to your computer and use it in GitHub Desktop.
(defn getFetch
[]
pulls/pulls)
(defn getSomething
[id]
((getFetch) "twbs" "bootstrap")
)
(fact "The thing will call"
(getSomething 1) => "foo"
(provided (getFetch) => (fn [user repo] "foo"))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment