Displaying 1 result from an estimated 1 matches for "list_forum".
Did you mean:
  list_form
  
2008 Jan 12
0
Can't test application controller methods in functional tests?
...er:
-----------------------
class ApplicationController < ActionController::Base
...
  def logout
    session[:username] = nil
    session[:admin] = nil
    redirect_to(request.request_uri)
  end
...
  def home
    redirect_to(:controller => ''forum'', :action => ''list_forum'')
  end
-------------------
class ForumController < ApplicationController
  layout "forum"
...
end
-------------------
For method home, action list_forum works according to my test, so that
shouldn''t be the problem.  The corresponding tests gives errors:
-----------...