marick / lein-midje

Leiningen plugin for Midje
MIT License
78 stars 29 forks source link

Fixed namespace globbing * #30

Closed mwmitchell closed 11 years ago

mwmitchell commented 11 years ago

"lein midje" namespace globbing is broken under leiningen 2 -- this patch fixes the problem, which was caused by lein-midje using the classpath at the wrong time. The classpath for the project under test is not available until eval-in-project is running.

We just upgraded to leiningen 2 and are experiencing this problem. Our CI server runs "lein midje app.test.unit.*" before building and the result is that no tests are run. If this patch looks OK to you, we'd really appreciate a quick merge and new release! :)

commit notes: