[rspec-users] Why do I have to require_dependency here?

Ashley Moran ashley.moran at patchspace.co.uk
Mon Apr 7 16:08:11 EDT 2008

On 7 Apr 2008, at 21:01, Ashley Moran wrote:

> The fix is to put this at the top of the controller file:
> require_dependency "user_state"

I spoke to soon :(

This fixes it for a single controller run, but still breaks when  
autotest re-runs the one controller after making a change.   
Something's really wrong with class loading and I'm pretty sure it was  
introduced between 1.1.3 and r3333.



More information about the rspec-users mailing list