I’m creating a class in my spec file to test out a module, but when I
run the spec a second time in spec_server, I get the error above.
I presume this is because rails is un-loading the class, and it’s not
getting re-loaded properly as it doesn’t have its own file in the
conventional place.
I’m creating a class in my spec file to test out a module, but when I run
the spec a second time in spec_server, I get the error above.
I presume this is because rails is un-loading the class, and it’s not
getting re-loaded properly as it doesn’t have its own file in the
conventional place.
Does anyone have a nice workaround for this?
Judging from the silence, I think the answer is no.
There is some interesting stuff going on in other threads about spork.
Don’t know if it solves this for you, but you may want to give it a
whirl.
Judging from the silence, I think the answer is no.
There is some interesting stuff going on in other threads about spork.
Don’t know if it solves this for you, but you may want to give it a
whirl.
Actually you told me (some time ago) to upgrade to the latest version
of RSpec, as there is some bug-fix with spec_server. I still haven’t
got around to doing that, but I’ll feed back when I have.