I'm using speclj to write tests for my web project and it's great.
When I'm working on the style of my site I use the ring auto-reload feature to see changes immediately.
Everytime ring tries to reload automatically I get the following error:
Caused by: java.lang.RuntimeException: Unable to resolve var: speclj.stub/stubbed-invocations in this context
The error message points to a line containing (with-stubs)
Running the tests using lein spec works fine.
I'm using speclj to write tests for my web project and it's great. When I'm working on the style of my site I use the ring auto-reload feature to see changes immediately. Everytime ring tries to reload automatically I get the following error:
Caused by: java.lang.RuntimeException: Unable to resolve var: speclj.stub/stubbed-invocations in this context
The error message points to a line containing
(with-stubs)
Running the tests usinglein spec
works fine.Please let my know if you need additional info.