I’m running AutoTest with Rspec on a Rails application.
Every 20 or so runs I get “stack level too deep” on one particular
This particular line is in a before block of a certain describe block.
strange thing is, every single spec in this file fails on that one line,
even the specs in other describe blocks!
Just for the hell of it, I commented it out. Then it fails on another
controller stub in another describe block. Same behavior, every spec
on this one line.
I continue commenting the lines that are causing problems. I noticed it
happens with controller stubs and mocks. Once I finally get all
mocks and stubs commented out, then my spec fails for legitimate reasons
(because of the missing stubs).
The only way I can fix this, is to reset AutoTest.
P.S. If you really need to see this 750 line spec file, I’d be glad to
pastie it, but I don’t think it’ll reveal anything.