[rspec-users] Autotest and subclasses / namespaces
dchelimsky at gmail.com
Sat Aug 16 08:12:56 EDT 2008
On Fri, Aug 15, 2008 at 7:42 AM, Matt Wynne <matt at mattwynne.net> 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.
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users