Displaying 1 result from an estimated 1 matches for "helpercontrol".
2006 Feb 07
0
scope problems testing a helper method that calls link_to()
...cation''
require File.dirname(__FILE__) + ''/../../app/helpers/application_helper''
require ''action_view''
module LoginSystem
def unprotected?() true; end # drop login protection for this test controller
end
# dummy controller to drive helper tests
class HelperController < ActionController::Base
include ApplicationHelper
include ActionView
end
class HelperControllerTest < Test::Unit::TestCase
fixtures :party
include ApplicationHelper
def setup
@controller = HelperController.new
@request = ActionController::TestRequest.new
@res...