On Fri, Aug 15, 2008 at 7:42 AM, Matt Wynne <[EMAIL PROTECTED]> wrote: > I am writing a controller admin/cities_controller.rb > it inherits from AdminController, so it's defined like > class Admin::CitiesController > AdminController > Whenever I save the controller file, autotest freaks out: > uninitialized constant Admin::AdminController (NameError) > I'm pretty used to just hitting CTRL-C to get autotest to re-load all the > files, or flicking to the spec file, and saving it to get a similar effect. > But it is fairly irritating. > Any suggestions for how to hack autotest to get this to flow more nicely?
I've seen this happen on occasion but have just done what you're doing (workarounds) to get by. Has anyone experienced this running autotest against test/unit? I don't think rspec is doing anything that would interfere with autotest loading the right files, but it's possible. > > cheers, > Matt > ---- > http://blog.mattwynne.net > http://songkick.com > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users