I'm trying to use midje to test a future, but I can't seem to get it to work.
The code looks like
(defn foo []
(let [f (future (bar))]
(baz @f))
With a test like
(fact
(foo) => ..a..
(provided
(bar) => ..b..
(baz ..b..) => ..a..))
This fails, saying that bar never gets called. Any way around this?