On Fri, 18 Aug 2006 16:32:09 +0100, Jon Lim wrote: > On 18/08/06, Jay Levitt <[EMAIL PROTECTED]> wrote: >> Using Rails 1.1.6, engines 1.1.4, and either LoginEngine 1.0.2 or trunk, I >> see a bunch of errors running user_controller_test.rb, along the lines of: >> >> Exception: undefined method `redirect_to_stored_or_default' for >> #<UserController:0x4e039a8>
Figured out what was causing this. I was testing in an empty application, and though I'd added Engines.start to environment.rb, I hadn't added "require 'login_engine'" to controllers/application.rb. So controllers weren't getting the AuthenticatedSystem methods. Should user_controller_test perform that require, so it doesn't depend on the application? I think maybe it should... Jay _______________________________________________ engine-developers mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org
