myfreeweb/clj-http-fake — Issue #1: Can't Fake Calls Via Another Namespace
Author: rodnaph
Created: 2012-02-14 09:13:11+00:00
State: open

Hi, I'm trying to mock http calls from somewhere inside namespace (rather than explicitly like in the example). ie. My test goes...

```clojure
(ns test.namespace
(:use my.namespace
clj-http.fake
clojure.test))

(deftest test-something
(is (= [] (this-function-calls-clj-http))))
```

Is this possible? Or do I need to use clj-http explicitly in the test to get the mocking?