[Rspec-devel] controller_mixin broken w/EdgeRails

Jay Levitt lists-rspec at shopwatch.org
Mon Sep 4 18:45:44 EDT 2006

Jay Levitt wrote:
  I presume this is because MyController now needs to be explicitly
> loaded.  The following line added to controller_name *seems* to work, 
> but I'm intentionally not providing it in patch form because I have no 
> idea if it's the right solution:
>         require "#{@controller_name}_controller"

Correction: I now have no idea if THIS is the right solution for line 13 
of controller_mixin.rb:

	require_dependency "#{@controller_name}_controller"

> Jay Levitt
> _______________________________________________
> Rspec-devel mailing list
> Rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel

More information about the Rspec-devel mailing list